Skip to content
Snippets Groups Projects
Commit abc236b2 authored by Sebastian Dröge's avatar Sebastian Dröge :tea: Committed by Tim-Philipp Müller
Browse files

flacenc: Pass audio info from set_format() to query_total_samples() explicitly

This fixes writing of the seek table header.

gst_audio_encoder_get_audio_info() will still return old/unset audio
info until set_format() has actually returned, which then results in
query_total_samples() to always return 0.

Thanks to Jacob Kauffmann for debugging this and finding the main cause.

Fixes gstreamer/gst-plugins-good#756

Part-of: <gstreamer/gst-plugins-good!661>
parent 07e0e8ff
No related branches found
No related tags found
No related merge requests found
Pipeline #205329 waiting for manual action
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment