summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sys/dvb/gstdvbsrc.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 12804a70..125e6639 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2008-11-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
+ * sys/dvb/gstdvbsrc.c:
+ Set filters in PAUSED or PLAYING.
+
+2008-11-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
+
* gst/mpegdemux/gstmpegtsdemux.c:
Make private section pads have a caps set so they are not tried
to be linked in parse_launch for example.
diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c
index 1aa0d621..0bbaba15 100644
--- a/sys/dvb/gstdvbsrc.c
+++ b/sys/dvb/gstdvbsrc.c
@@ -543,9 +543,10 @@ gst_dvbsrc_set_property (GObject * _object, guint prop_id,
g_strfreev (tmp);
}
- /* if we are in playing, then set filters now */
+ /* if we are in playing or paused, then set filters now */
GST_INFO_OBJECT (object, "checking if playing for setting pes filters");
- if (GST_ELEMENT (object)->current_state == GST_STATE_PLAYING) {
+ if (GST_ELEMENT (object)->current_state == GST_STATE_PLAYING ||
+ GST_ELEMENT (object)->current_state == GST_STATE_PAUSED) {
GST_INFO_OBJECT (object, "Setting pes filters now");
gst_dvbsrc_set_pes_filters (object);
}