mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +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->stream_reader = gst_wavpack_stream_reader_new ();
|
||||
|
||||
gst_audio_decoder_set_needs_format (GST_AUDIO_DECODER (dec), TRUE);
|
||||
|
||||
gst_wavpack_dec_reset (dec);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue