mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
flacparse: make conversion from TIME to DEFAULT format (samples) work
Fix copy'n'paste error in the previous commit.
This commit is contained in:
parent
8823ae251a
commit
1183d0c1ab
1 changed files with 2 additions and 1 deletions
|
@ -1372,7 +1372,8 @@ gst_flac_parse_convert (GstBaseParse * parse,
|
|||
else
|
||||
*dest_value = -1;
|
||||
return TRUE;
|
||||
} else if (src_format == GST_FORMAT_TIME && dest_format == GST_FORMAT_TIME) {
|
||||
} else if (src_format == GST_FORMAT_TIME &&
|
||||
dest_format == GST_FORMAT_DEFAULT) {
|
||||
if (src_value != -1)
|
||||
*dest_value =
|
||||
gst_util_uint64_scale (src_value, flacparse->samplerate,
|
||||
|
|
Loading…
Reference in a new issue