Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
d895ab4f
Commit
d895ab4f
authored
Aug 29, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FFmpeg => AVformat
parent
41d25f75
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
modules/demux/avformat/avformat.c
modules/demux/avformat/avformat.c
+2
-2
modules/demux/avformat/avformat.h
modules/demux/avformat/avformat.h
+2
-2
modules/demux/avformat/demux.c
modules/demux/avformat/demux.c
+6
-6
modules/demux/avformat/mux.c
modules/demux/avformat/mux.c
+1
-1
No files found.
modules/demux/avformat/avformat.c
View file @
d895ab4f
...
@@ -37,7 +37,7 @@ vlc_module_begin ()
...
@@ -37,7 +37,7 @@ vlc_module_begin ()
add_shortcut
(
"ffmpeg"
,
"avformat"
)
add_shortcut
(
"ffmpeg"
,
"avformat"
)
set_category
(
CAT_INPUT
)
set_category
(
CAT_INPUT
)
set_subcategory
(
SUBCAT_INPUT_DEMUX
)
set_subcategory
(
SUBCAT_INPUT_DEMUX
)
set_description
(
N_
(
"
FFmpeg
demuxer"
)
)
set_description
(
N_
(
"
Avformat
demuxer"
)
)
set_shortname
(
N_
(
"Avformat"
)
)
set_shortname
(
N_
(
"Avformat"
)
)
set_capability
(
"demux"
,
2
)
set_capability
(
"demux"
,
2
)
set_callbacks
(
OpenDemux
,
CloseDemux
)
set_callbacks
(
OpenDemux
,
CloseDemux
)
...
@@ -46,7 +46,7 @@ vlc_module_begin ()
...
@@ -46,7 +46,7 @@ vlc_module_begin ()
/* mux submodule */
/* mux submodule */
add_submodule
()
add_submodule
()
add_shortcut
(
"ffmpeg"
,
"avformat"
)
add_shortcut
(
"ffmpeg"
,
"avformat"
)
set_description
(
N_
(
"
FFmpeg
muxer"
)
)
set_description
(
N_
(
"
Avformat
muxer"
)
)
set_capability
(
"sout mux"
,
2
)
set_capability
(
"sout mux"
,
2
)
add_string
(
"ffmpeg-mux"
,
NULL
,
MUX_TEXT
,
add_string
(
"ffmpeg-mux"
,
NULL
,
MUX_TEXT
,
MUX_LONGTEXT
,
true
)
MUX_LONGTEXT
,
true
)
...
...
modules/demux/avformat/avformat.h
View file @
d895ab4f
...
@@ -32,5 +32,5 @@ void CloseDemux( vlc_object_t * );
...
@@ -32,5 +32,5 @@ void CloseDemux( vlc_object_t * );
int
OpenMux
(
vlc_object_t
*
);
int
OpenMux
(
vlc_object_t
*
);
void
CloseMux
(
vlc_object_t
*
);
void
CloseMux
(
vlc_object_t
*
);
#define MUX_TEXT N_("
Ffmpeg
mux")
#define MUX_TEXT N_("
Avformat
mux")
#define MUX_LONGTEXT N_("Force use of
ffmpeg
muxer.")
#define MUX_LONGTEXT N_("Force use of
a specific avformat
muxer.")
modules/demux/avformat/demux.c
View file @
d895ab4f
/*****************************************************************************
/*****************************************************************************
* demux.c: demuxer using
ffmpeg (libavformat).
* demux.c: demuxer using
libavformat
*****************************************************************************
*****************************************************************************
* Copyright (C) 2004-2009 the VideoLAN team
* Copyright (C) 2004-2009 the VideoLAN team
* $Id$
* $Id$
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
#if defined(HAVE_FFMPEG_AVFORMAT_H) || defined(HAVE_LIBAVFORMAT_AVFORMAT_H)
#if defined(HAVE_FFMPEG_AVFORMAT_H) || defined(HAVE_LIBAVFORMAT_AVFORMAT_H)
#if (LIBAVCODEC_VERSION_INT >= ((51<<16)+(50<<8)+0) )
#if (LIBAVCODEC_VERSION_INT >= ((51<<16)+(50<<8)+0) )
# define HAVE_
FFMPEG
_CODEC_ATTACHMENT 1
# define HAVE_
AVUTIL
_CODEC_ATTACHMENT 1
#endif
#endif
/*****************************************************************************
/*****************************************************************************
...
@@ -353,7 +353,7 @@ int OpenDemux( vlc_object_t *p_this )
...
@@ -353,7 +353,7 @@ int OpenDemux( vlc_object_t *p_this )
default:
default:
es_format_Init
(
&
fmt
,
UNKNOWN_ES
,
0
);
es_format_Init
(
&
fmt
,
UNKNOWN_ES
,
0
);
#ifdef HAVE_
FFMPEG
_CODEC_ATTACHMENT
#ifdef HAVE_
AVUTIL
_CODEC_ATTACHMENT
if
(
cc
->
codec_type
==
AVMEDIA_TYPE_ATTACHMENT
)
if
(
cc
->
codec_type
==
AVMEDIA_TYPE_ATTACHMENT
)
{
{
input_attachment_t
*
p_attachment
;
input_attachment_t
*
p_attachment
;
...
@@ -371,7 +371,7 @@ int OpenDemux( vlc_object_t *p_this )
...
@@ -371,7 +371,7 @@ int OpenDemux( vlc_object_t *p_this )
p_attachment
);
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
else
#endif
#endif
...
@@ -379,7 +379,7 @@ int OpenDemux( vlc_object_t *p_this )
...
@@ -379,7 +379,7 @@ int OpenDemux( vlc_object_t *p_this )
if
(
cc
->
codec_type
==
AVMEDIA_TYPE_DATA
)
if
(
cc
->
codec_type
==
AVMEDIA_TYPE_DATA
)
psz_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
;
break
;
}
}
...
@@ -391,7 +391,7 @@ int OpenDemux( vlc_object_t *p_this )
...
@@ -391,7 +391,7 @@ int OpenDemux( vlc_object_t *p_this )
if
(
s
->
disposition
&
AV_DISPOSITION_DEFAULT
)
if
(
s
->
disposition
&
AV_DISPOSITION_DEFAULT
)
fmt
.
i_priority
=
1000
;
fmt
.
i_priority
=
1000
;
#ifdef HAVE_
FFMPEG
_CODEC_ATTACHMENT
#ifdef HAVE_
AVUTIL
_CODEC_ATTACHMENT
if
(
cc
->
codec_type
!=
AVMEDIA_TYPE_ATTACHMENT
)
if
(
cc
->
codec_type
!=
AVMEDIA_TYPE_ATTACHMENT
)
#endif
#endif
if
(
cc
->
codec_type
!=
AVMEDIA_TYPE_DATA
)
if
(
cc
->
codec_type
!=
AVMEDIA_TYPE_DATA
)
...
...
modules/demux/avformat/mux.c
View file @
d895ab4f
/*****************************************************************************
/*****************************************************************************
* mux.c: muxer using
ffmpeg (libavformat).
* mux.c: muxer using
libavformat
*****************************************************************************
*****************************************************************************
* Copyright (C) 2006 the VideoLAN team
* Copyright (C) 2006 the VideoLAN team
* $Id$
* $Id$
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment