mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
baseparse: 0 converts to 0 by default
This commit is contained in:
parent
2e7de32849
commit
ea7e051827
1 changed files with 5 additions and 0 deletions
|
@ -808,6 +808,11 @@ gst_base_parse_convert_default (GstBaseParse * parse,
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
if (G_UNLIKELY (src_value == 0)) {
|
||||
*dest_value = 0;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/* need at least some frames */
|
||||
if (!parse->priv->framecount)
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue