[vlc-devel] commit: Added 88.2/176.4/192 kHz samplerates support in flac demuxer ( close #3144). (Laurent Aimar )
git version control
git at videolan.org
Mon Feb 8 23:49:19 CET 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Feb 8 23:47:40 2010 +0100| [3d1cc93d3b745cffea8a8614881daf6a1a8bf1b1] | committer: Laurent Aimar
Added 88.2/176.4/192 kHz samplerates support in flac demuxer (close #3144).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3d1cc93d3b745cffea8a8614881daf6a1a8bf1b1
---
modules/codec/flac.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/modules/codec/flac.c b/modules/codec/flac.c
index 3e4acbc..0789c21 100644
--- a/modules/codec/flac.c
+++ b/modules/codec/flac.c
@@ -947,9 +947,15 @@ static int SyncInfo( decoder_t *p_dec, uint8_t *p_buf,
break;
case 1:
+ *pi_sample_rate = 88200;
+ break;
+
case 2:
+ *pi_sample_rate = 176400;
+ break;
+
case 3:
- return 0;
+ *pi_sample_rate = 19200;
break;
case 4:
More information about the vlc-devel
mailing list