]> git.sesse.net Git - vlc/commitdiff
Decode H.264 with QuickTime on the Mac.
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 10 Jun 2008 16:18:51 +0000 (09:18 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 10 Jun 2008 16:18:51 +0000 (09:18 -0700)
modules/codec/quicktime.c

index b5e9c19c8f7ccca214eb7f315a10042550477c44..6b4b6cdd7649edf1d066c2486c7f1209032fb2ef 100644 (file)
@@ -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'):