From: Chang.H.S Date: Fri, 21 Sep 2012 11:03:46 +0000 (+0900) Subject: Fix about IP streaming. X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=045c47f76723e0aea8d9ed8394f2dee06df28856;hp=2341b90d5b6144df30eba997d88b8918ea61830a Fix about IP streaming. 1. IP streaming with gstreamer is seekable. 2. Timeshift is not supported for TS IP streaming service. --- diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp old mode 100644 new mode 100755 index 7c8a660..ec3fdb5 --- a/lib/service/servicedvb.cpp +++ b/lib/service/servicedvb.cpp @@ -1524,7 +1524,7 @@ RESULT eDVBServicePlay::timeshift(ePtr &ptr) { ptr = 0; if (m_have_video_pid && // HACK !!! FIXMEE !! temporary no timeshift on radio services !! - (m_timeshift_enabled || !m_is_pvr)) + (m_timeshift_enabled || (!m_is_pvr&&!m_is_stream))) { if (!m_timeshift_enabled) { diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp old mode 100644 new mode 100755 index 0b85775..0aaaaaa --- a/lib/service/servicemp3.cpp +++ b/lib/service/servicemp3.cpp @@ -696,8 +696,6 @@ RESULT eServiceMP3::isCurrentlySeekable() return 0; if (m_state != stRunning) return 0; - if (m_sourceinfo.is_streaming) - return 0; g_object_get (G_OBJECT (m_gst_playbin), "video-sink", &sink, NULL);