mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
identity: ignore the return value of gst_pad_event_default when sending out the newsegment event in single-segment mode.
This makes identity single-segment=true ! oggmux work again after a change in
oggmux (commit b0e3d449
in -base).
This commit is contained in:
parent
e2ff005e63
commit
c20fb4c16f
1 changed files with 1 additions and 2 deletions
|
@ -333,8 +333,7 @@ gst_identity_event (GstBaseTransform * trans, GstEvent * event)
|
|||
/* This is the first newsegment, send out a (0, -1) newsegment */
|
||||
news = gst_event_new_new_segment (TRUE, 1.0, format, 0, -1, 0);
|
||||
|
||||
if (!(gst_pad_event_default (trans->sinkpad, news)))
|
||||
return FALSE;
|
||||
gst_pad_event_default (trans->sinkpad, news);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue