mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
wavpackdec: Require caps to be set before accepting any data
This commit is contained in:
parent
c880e36779
commit
d9deb95012
1 changed files with 2 additions and 0 deletions
|
@ -141,6 +141,8 @@ gst_wavpack_dec_init (GstWavpackDec * dec)
|
||||||
dec->context = NULL;
|
dec->context = NULL;
|
||||||
dec->stream_reader = gst_wavpack_stream_reader_new ();
|
dec->stream_reader = gst_wavpack_stream_reader_new ();
|
||||||
|
|
||||||
|
gst_audio_decoder_set_needs_format (GST_AUDIO_DECODER (dec), TRUE);
|
||||||
|
|
||||||
gst_wavpack_dec_reset (dec);
|
gst_wavpack_dec_reset (dec);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue