[Redbutton-devel] SF.net SVN: redbutton:[512] redbutton-download/trunk
Brought to you by:
skilvington
|
From: <ski...@us...> - 2009-01-07 12:09:34
|
Revision: 512
http://redbutton.svn.sourceforge.net/redbutton/?rev=512&view=rev
Author: skilvington
Date: 2009-01-07 12:02:40 +0000 (Wed, 07 Jan 2009)
Log Message:
-----------
detect MPEG4 audio streams (used in NZ)
Modified Paths:
--------------
redbutton-download/trunk/TODO
redbutton-download/trunk/findmheg.c
Modified: redbutton-download/trunk/TODO
===================================================================
--- redbutton-download/trunk/TODO 2008-12-12 09:25:29 UTC (rev 511)
+++ redbutton-download/trunk/TODO 2009-01-07 12:02:40 UTC (rev 512)
@@ -1,3 +1,6 @@
+NZ uses stream ID 0x11 for audio (MPEG4)
+need to check rb-browser plays it correctly
+
need to kill all existing command connections on retune
(listen_data->carousel is stale for them)
Modified: redbutton-download/trunk/findmheg.c
===================================================================
--- redbutton-download/trunk/findmheg.c 2008-12-12 09:25:29 UTC (rev 511)
+++ redbutton-download/trunk/findmheg.c 2009-01-07 12:02:40 UTC (rev 512)
@@ -37,6 +37,7 @@
#define STREAM_TYPE_AUDIO_MPEG1 0x03
#define STREAM_TYPE_AUDIO_MPEG2 0x04
#define STREAM_TYPE_ISO13818_6_B 0x0b
+#define STREAM_TYPE_AUDIO_MPEG4 0x11
/* descriptors we want */
#define TAG_LANGUAGE_DESCRIPTOR 0x0a
@@ -83,6 +84,7 @@
{
case STREAM_TYPE_AUDIO_MPEG1:
case STREAM_TYPE_AUDIO_MPEG2:
+ case STREAM_TYPE_AUDIO_MPEG4:
return true;
default:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|