diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dvb/gstdvbsrc.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); } |