[vlc-devel] commit: Decode H.264 with QuickTime on the Mac. (Jean-Baptiste Kempf )

git version control git at videolan.org
Tue Jun 10 18:25:12 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jun 10 09:18:51 2008 -0700| [79489524037f62469bb9db74f442328351b294c9]

Decode H.264 with QuickTime on the Mac.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=79489524037f62469bb9db74f442328351b294c9
---

 modules/codec/quicktime.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/codec/quicktime.c b/modules/codec/quicktime.c
index b5e9c19..6b4b6cd 100644
--- a/modules/codec/quicktime.c
+++ b/modules/codec/quicktime.c
@@ -66,7 +66,7 @@ static void Close( vlc_object_t * );
 
 vlc_module_begin();
     set_description( N_("QuickTime library decoder") );
-    set_capability( "decoder", 10 );
+    set_capability( "decoder", 100 );
     set_category( CAT_INPUT );
     set_subcategory( SUBCAT_INPUT_VCODEC );
     set_callbacks( Open, Close );
@@ -229,6 +229,7 @@ static int Open( vlc_object_t *p_this )
 
     switch( p_dec->fmt_in.i_codec )
     {
+        case VLC_FOURCC('h','2','6','4'): /* H.264 */
         case VLC_FOURCC('S','V','Q','3'): /* Sorenson v3 */
     /*    case VLC_FOURCC('S','V','Q','1'):  Sorenson v1
         case VLC_FOURCC('Z','y','G','o'):




More information about the vlc-devel mailing list