mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 00:58:12 +00:00
dvdspu should forward video caps event
This commit is contained in:
parent
98c6e6ecca
commit
232ef9cc39
1 changed files with 4 additions and 1 deletions
|
@ -392,7 +392,10 @@ gst_dvd_spu_video_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
||||||
|
|
||||||
gst_event_parse_caps (event, &caps);
|
gst_event_parse_caps (event, &caps);
|
||||||
res = gst_dvd_spu_video_set_caps (pad, caps);
|
res = gst_dvd_spu_video_set_caps (pad, caps);
|
||||||
gst_event_unref (event);
|
if (res)
|
||||||
|
res = gst_pad_push_event (dvdspu->srcpad, event);
|
||||||
|
else
|
||||||
|
gst_event_unref (event);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case GST_EVENT_CUSTOM_DOWNSTREAM:
|
case GST_EVENT_CUSTOM_DOWNSTREAM:
|
||||||
|
|
Loading…
Reference in a new issue