projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
391bedf
)
Fix typo and small flaw in flac decoder
author
Jan Schmidt
<thaytan@noraisin.net>
Wed, 21 Jan 2009 12:56:55 +0000
(12:56 +0000)
committer
Jan Schmidt
<thaytan@noraisin.net>
Thu, 22 Jan 2009 14:33:04 +0000
(14:33 +0000)
ext/flac/gstflacdec.c
patch
|
blob
|
history
diff --git
a/ext/flac/gstflacdec.c
b/ext/flac/gstflacdec.c
index
612a1d1
..
8244e79
100644
(file)
--- a/
ext/flac/gstflacdec.c
+++ b/
ext/flac/gstflacdec.c
@@
-1235,7
+1235,7
@@
gst_flac_dec_loop (GstPad * sinkpad)
#endif
analyze_state:
- GST_LOG_OBJECT (flacdec, "done processing, checking
en
coder state");
+ GST_LOG_OBJECT (flacdec, "done processing, checking
de
coder 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;
}