Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
33143a68
Commit
33143a68
authored
Oct 29, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/ffmpeg/ffmpeg.c: CODEC_ID_MPEG2VIDEO only supported from version 4676.
parent
faf0b184
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
modules/codec/ffmpeg/ffmpeg.c
modules/codec/ffmpeg/ffmpeg.c
+11
-2
No files found.
modules/codec/ffmpeg/ffmpeg.c
View file @
33143a68
...
...
@@ -2,7 +2,7 @@
* ffmpeg.c: video decoder using ffmpeg library
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: ffmpeg.c,v 1.5
7 2003/10/29 19:35:43
gbazin Exp $
* $Id: ffmpeg.c,v 1.5
8 2003/10/29 20:53:41
gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
...
...
@@ -258,15 +258,20 @@ int E_(GetFfmpegCodec)( vlc_fourcc_t i_fourcc, int *pi_cat,
case
VLC_FOURCC
(
'm'
,
'p'
,
'1'
,
'v'
):
i_cat
=
VIDEO_ES
;
i_codec
=
CODEC_ID_MPEG1VIDEO
;
psz_name
=
"MPEG-1
/2
Video"
;
psz_name
=
"MPEG-1 Video"
;
break
;
/* MPEG-2 Video */
case
VLC_FOURCC
(
'm'
,
'p'
,
'2'
,
'v'
):
case
VLC_FOURCC
(
'm'
,
'p'
,
'g'
,
'v'
):
i_cat
=
VIDEO_ES
;
#if LIBAVCODEC_BUILD >= 4676
i_codec
=
CODEC_ID_MPEG2VIDEO
;
psz_name
=
"MPEG-2 Video"
;
#else
i_codec
=
CODEC_ID_MPEG1VIDEO
;
psz_name
=
"MPEG-1 Video"
;
#endif
break
;
/* MPEG-4 Video */
...
...
@@ -617,7 +622,11 @@ int E_(GetFfmpegCodec)( vlc_fourcc_t i_fourcc, int *pi_cat,
break
;
case
VLC_FOURCC
(
'm'
,
'p'
,
'3'
,
' '
):
i_cat
=
AUDIO_ES
;
#if LIBAVCODEC_BUILD >= 4678
i_codec
=
CODEC_ID_MP3
;
#else
i_codec
=
CODEC_ID_MP3LAME
;
#endif
psz_name
=
"MPEG Audio layer 1/2/3"
;
break
;
...
...
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