mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 18:35:35 +00:00
gst/videoparse/gstvideoparse.c: Forward the query upstream, the default element event handler does something differen...
Original commit message from CVS: Based on patch by: <mutex at runbox dot com> * gst/videoparse/gstvideoparse.c: (gst_video_parse_src_query): Forward the query upstream, the default element event handler does something different. Fixes #502879.
This commit is contained in:
parent
b99d637ab7
commit
5c1c4a4477
2 changed files with 10 additions and 5 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2007-12-10 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
|
Based on patch by: <mutex at runbox dot com>
|
||||||
|
|
||||||
|
* gst/videoparse/gstvideoparse.c: (gst_video_parse_src_query):
|
||||||
|
Forward the query upstream, the default element event handler does
|
||||||
|
something different. Fixes #502879.
|
||||||
|
|
||||||
2007-12-10 Wim Taymans <wim.taymans@collabora.co.uk>
|
2007-12-10 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
* gst/rtpmanager/gstrtpbin.c: (on_ssrc_sdes), (create_session),
|
* gst/rtpmanager/gstrtpbin.c: (on_ssrc_sdes), (create_session),
|
||||||
|
|
|
@ -355,17 +355,14 @@ gst_video_parse_src_query (GstPad * pad, GstQuery * query)
|
||||||
|
|
||||||
gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val);
|
gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val);
|
||||||
} else {
|
} else {
|
||||||
ret = GST_ELEMENT_CLASS (parent_class)->query (GST_ELEMENT (vp), query);
|
/* else forward upstream */
|
||||||
|
ret = gst_pad_peer_query (vp->sinkpad, query);
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_object_unref (vp);
|
gst_object_unref (vp);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
plugin_init (GstPlugin * plugin)
|
plugin_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue