diff options
author | Zaheer Abbas Merali <zaheerabbas@merali.org> | 2008-11-06 13:00:54 +0000 |
---|---|---|
committer | Zaheer Abbas Merali <zaheerabbas@merali.org> | 2008-11-06 13:00:54 +0000 |
commit | 39eba4bdecc5ec62baf8ed5a6c58d37101a02e67 (patch) | |
tree | 920335f0ee4c905be6b85fd886d01caf2bbcc51a /sys | |
parent | d087870e0977ea27f25917ac9cc24733ee65f40e (diff) | |
download | gst-plugins-bad-39eba4bdecc5ec62baf8ed5a6c58d37101a02e67.tar.gz gst-plugins-bad-39eba4bdecc5ec62baf8ed5a6c58d37101a02e67.tar.bz2 gst-plugins-bad-39eba4bdecc5ec62baf8ed5a6c58d37101a02e67.zip |
sys/dvb/gstdvbsrc.c: Set filters in PAUSED or PLAYING.
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Set filters in PAUSED or PLAYING.
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); } |