mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
ext/mpeg2dec/gstmpeg2dec.c: Add support for the STATE_SEQUENCE_MODIFIED state in mpeg2dec >= 0.5.0. Fixes bug #562065.
Original commit message from CVS: Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk> * ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_chain): Add support for the STATE_SEQUENCE_MODIFIED state in mpeg2dec >= 0.5.0. Fixes bug #562065.
This commit is contained in:
parent
3838bdb40d
commit
821d16d9c7
3 changed files with 14 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
|
||||
|
||||
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_chain):
|
||||
Add support for the STATE_SEQUENCE_MODIFIED state in mpeg2dec
|
||||
>= 0.5.0. Fixes bug #562065.
|
||||
|
||||
2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_chain):
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit edfb4b44ea433b0b83b8a2f27a6e0bcbccdc3f2f
|
||||
Subproject commit e4b2fe44724e1c1a6e816ae4fbbae43d7f68f1ef
|
|
@ -1122,6 +1122,11 @@ gst_mpeg2dec_chain (GstPad * pad, GstBuffer * buf)
|
|||
GST_DEBUG_OBJECT (mpeg2dec, "parse state %d", state);
|
||||
|
||||
switch (state) {
|
||||
#if MPEG2_RELEASE >= MPEG2_VERSION (0, 5, 0)
|
||||
case STATE_SEQUENCE_MODIFIED:
|
||||
GST_DEBUG_OBJECT (mpeg2dec, "sequence modified");
|
||||
/* fall through */
|
||||
#endif
|
||||
case STATE_SEQUENCE:
|
||||
ret = handle_sequence (mpeg2dec, info);
|
||||
/* if there is an error handling the sequence
|
||||
|
|
Loading…
Reference in a new issue