mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
Fix typo and small flaw in flac decoder
This commit is contained in:
parent
391bedf815
commit
1e7e381a8d
1 changed files with 3 additions and 2 deletions
|
@ -1235,7 +1235,7 @@ gst_flac_dec_loop (GstPad * sinkpad)
|
|||
#endif
|
||||
analyze_state:
|
||||
|
||||
GST_LOG_OBJECT (flacdec, "done processing, checking encoder state");
|
||||
GST_LOG_OBJECT (flacdec, "done processing, checking decoder state");
|
||||
#ifdef LEGACY_FLAC
|
||||
s = FLAC__seekable_stream_decoder_get_state (flacdec->seekable_decoder);
|
||||
#else
|
||||
|
@ -2089,7 +2089,8 @@ gst_flac_dec_sink_activate_push (GstPad * sinkpad, gboolean active)
|
|||
{
|
||||
GstFlacDec *dec = GST_FLAC_DEC (GST_OBJECT_PARENT (sinkpad));
|
||||
|
||||
gst_flac_dec_setup_stream_decoder (dec);
|
||||
if (active)
|
||||
gst_flac_dec_setup_stream_decoder (dec);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue