mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
ext/mpeg2enc/gstmpeg2enc.cc: Forward events first before deciding that negotiation was not performed.
Original commit message from CVS: * ext/mpeg2enc/gstmpeg2enc.cc: Forward events first before deciding that negotiation was not performed.
This commit is contained in:
parent
9ca3d56e2b
commit
2c50be12b4
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-05-06 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* ext/mpeg2enc/gstmpeg2enc.cc:
|
||||
Forward events first before deciding that negotiation was
|
||||
not performed.
|
||||
|
||||
2004-05-06 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/wavenc/gstwavenc.c: (gst_wavenc_chain):
|
||||
|
|
|
@ -231,6 +231,12 @@ gst_mpeg2enc_loop (GstElement * element)
|
|||
|
||||
/* make sure we've had data */
|
||||
data = gst_pad_pull (enc->sinkpad);
|
||||
/* forward any events */
|
||||
if (GST_IS_EVENT (data)) {
|
||||
gst_pad_event_default (enc->sinkpad, GST_EVENT (data));
|
||||
return;
|
||||
}
|
||||
|
||||
gst_pad_set_element_private (enc->sinkpad, data);
|
||||
|
||||
if (!(caps = GST_PAD_CAPS (enc->sinkpad))) {
|
||||
|
|
Loading…
Reference in a new issue