mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-06 08:09:56 +00:00
assrender: If the video segment is not in TIME format don't accept it
This commit is contained in:
parent
6db13ce20a
commit
06a79e9263
1 changed files with 3 additions and 2 deletions
|
@ -688,12 +688,13 @@ gst_assrender_event_video (GstPad * pad, GstEvent * event)
|
|||
|
||||
gst_segment_set_newsegment (&render->video_segment, update, rate,
|
||||
format, start, stop, time);
|
||||
ret = gst_pad_push_event (render->srcpad, event);
|
||||
} else {
|
||||
GST_ELEMENT_WARNING (render, STREAM, MUX, (NULL),
|
||||
("received non-TIME newsegment event on video input"));
|
||||
ret = FALSE;
|
||||
gst_event_unref (event);
|
||||
}
|
||||
|
||||
ret = gst_pad_event_default (pad, event);
|
||||
break;
|
||||
}
|
||||
case GST_EVENT_TAG:
|
||||
|
|
Loading…
Reference in a new issue