mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
adaptivedemux: fix get_presentation_offset check.
And return 0 isntead of FALSE. https://bugzilla.gnome.org/show_bug.cgi?id=745455
This commit is contained in:
parent
bd70c73a8a
commit
a8604bc4f8
1 changed files with 2 additions and 1 deletions
|
@ -709,7 +709,8 @@ gst_adaptive_demux_stream_get_presentation_offset (GstAdaptiveDemux * demux,
|
|||
|
||||
klass = GST_ADAPTIVE_DEMUX_GET_CLASS (demux);
|
||||
|
||||
g_return_val_if_fail (klass->get_presentation_offset, FALSE);
|
||||
if (klass->get_presentation_offset == NULL)
|
||||
return 0;
|
||||
|
||||
return klass->get_presentation_offset (demux, stream);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue