]> git.sesse.net Git - vlc/commitdiff
FFmpeg => AVformat
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 29 Aug 2011 13:22:37 +0000 (15:22 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 29 Aug 2011 13:22:37 +0000 (15:22 +0200)
modules/demux/avformat/avformat.c
modules/demux/avformat/avformat.h
modules/demux/avformat/demux.c
modules/demux/avformat/mux.c

index 8d41faac7ad213f2aa46d5afdaccc14d0ce2c199..70ce57f303a4603d8926c1ec854890870a606bd4 100644 (file)
@@ -37,7 +37,7 @@ vlc_module_begin ()
     add_shortcut( "ffmpeg", "avformat" )
     set_category( CAT_INPUT )
     set_subcategory( SUBCAT_INPUT_DEMUX )
-    set_description( N_("FFmpeg demuxer" ) )
+    set_description( N_("Avformat demuxer" ) )
     set_shortname( N_("Avformat") )
     set_capability( "demux", 2 )
     set_callbacks( OpenDemux, CloseDemux )
@@ -46,7 +46,7 @@ vlc_module_begin ()
     /* mux submodule */
     add_submodule ()
     add_shortcut( "ffmpeg", "avformat" )
-    set_description( N_("FFmpeg muxer" ) )
+    set_description( N_("Avformat muxer" ) )
     set_capability( "sout mux", 2 )
     add_string( "ffmpeg-mux", NULL, MUX_TEXT,
                 MUX_LONGTEXT, true )
index 46fce3aa63e2cbd079dab63c861a32a78c7058fb..62c8e9909e5253a7082d37c3e39a0e1b39376fea 100644 (file)
@@ -32,5 +32,5 @@ void CloseDemux( vlc_object_t * );
 int  OpenMux ( vlc_object_t * );
 void CloseMux( vlc_object_t * );
 
-#define MUX_TEXT N_("Ffmpeg mux")
-#define MUX_LONGTEXT N_("Force use of ffmpeg muxer.")
+#define MUX_TEXT N_("Avformat mux")
+#define MUX_LONGTEXT N_("Force use of a specific avformat muxer.")
index 5fe18346e066440a0f738797fb6e8bd00be01c91..d3209adb0c4c9ddde37745dae2860c42bdc0f8cc 100644 (file)
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * demux.c: demuxer using ffmpeg (libavformat).
+ * demux.c: demuxer using libavformat
  *****************************************************************************
  * Copyright (C) 2004-2009 the VideoLAN team
  * $Id$
@@ -52,7 +52,7 @@
 #if defined(HAVE_FFMPEG_AVFORMAT_H) || defined(HAVE_LIBAVFORMAT_AVFORMAT_H)
 
 #if (LIBAVCODEC_VERSION_INT >= ((51<<16)+(50<<8)+0) )
-#   define HAVE_FFMPEG_CODEC_ATTACHMENT 1
+#   define HAVE_AVUTIL_CODEC_ATTACHMENT 1
 #endif
 
 /*****************************************************************************
@@ -353,7 +353,7 @@ int OpenDemux( vlc_object_t *p_this )
 
         default:
             es_format_Init( &fmt, UNKNOWN_ES, 0 );
-#ifdef HAVE_FFMPEG_CODEC_ATTACHMENT
+#ifdef HAVE_AVUTIL_CODEC_ATTACHMENT
             if( cc->codec_type == AVMEDIA_TYPE_ATTACHMENT )
             {
                 input_attachment_t *p_attachment;
@@ -371,7 +371,7 @@ int OpenDemux( vlc_object_t *p_this )
                                 p_attachment );
                     }
                 }
-                else msg_Warn( p_demux, "unsupported attachment type (%u) in ffmpeg demux", cc->codec_id );
+                else msg_Warn( p_demux, "unsupported attachment type (%u) in avformat demux", cc->codec_id );
             }
             else
 #endif
@@ -379,7 +379,7 @@ int OpenDemux( vlc_object_t *p_this )
                 if( cc->codec_type == AVMEDIA_TYPE_DATA )
                     psz_type = "data";
 
-                msg_Warn( p_demux, "unsupported track type in ffmpeg demux" );
+                msg_Warn( p_demux, "unsupported track type (%u) in avformat demux", cc->codec_type );
             }
             break;
         }
@@ -391,7 +391,7 @@ int OpenDemux( vlc_object_t *p_this )
         if( s->disposition & AV_DISPOSITION_DEFAULT )
             fmt.i_priority = 1000;
 
-#ifdef HAVE_FFMPEG_CODEC_ATTACHMENT
+#ifdef HAVE_AVUTIL_CODEC_ATTACHMENT
         if( cc->codec_type != AVMEDIA_TYPE_ATTACHMENT )
 #endif
         if( cc->codec_type != AVMEDIA_TYPE_DATA )
index f11c491947fd74b0355da4cc06741896cdb6d660..9c870737070ddd26e6dc7351487439f9ebe82079 100644 (file)
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * mux.c: muxer using ffmpeg (libavformat).
+ * mux.c: muxer using libavformat
  *****************************************************************************
  * Copyright (C) 2006 the VideoLAN team
  * $Id$