Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
e446041e
Commit
e446041e
authored
Dec 06, 2010
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debian/patches/configure-avcodec-version-52-20.patch: forgot subtitles
Lower dependency on avcodec version for subtitles.
parent
9c09d29c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
6 deletions
+58
-6
debian/patches/configure-avcodec-version-52-20.patch
debian/patches/configure-avcodec-version-52-20.patch
+58
-6
No files found.
debian/patches/configure-avcodec-version-52-20.patch
View file @
e446041e
Index: vlc-m2x.git/configure.ac
Index: vlc-m2x.git/configure.ac
===================================================================
===================================================================
--- vlc-m2x.git.orig/configure.ac 2010-12-0
1 12:33:35.169623405
+0100
--- vlc-m2x.git.orig/configure.ac 2010-12-0
6 10:13:10.622545497
+0100
+++ vlc-m2x.git/configure.ac 2010-12-0
1 12:33:35.337625748
+0100
+++ vlc-m2x.git/configure.ac 2010-12-0
6 10:13:10.702545940
+0100
@@ -3577,7 +3577,7 @@
@@ -3577,7 +3577,7 @@
dnl
dnl
dnl Pulseaudio module
dnl Pulseaudio module
...
@@ -13,8 +13,8 @@ Index: vlc-m2x.git/configure.ac
...
@@ -13,8 +13,8 @@ Index: vlc-m2x.git/configure.ac
dnl Portaudio module
dnl Portaudio module
Index: vlc-m2x.git/modules/codec/avcodec/avcodec.c
Index: vlc-m2x.git/modules/codec/avcodec/avcodec.c
===================================================================
===================================================================
--- vlc-m2x.git.orig/modules/codec/avcodec/avcodec.c 2010-12-0
1 12:32:22.233620192
+0100
--- vlc-m2x.git.orig/modules/codec/avcodec/avcodec.c 2010-12-0
6 10:12:07.870735025
+0100
+++ vlc-m2x.git/modules/codec/avcodec/avcodec.c 2010-12-0
1 12:33:35.337625748
+0100
+++ vlc-m2x.git/modules/codec/avcodec/avcodec.c 2010-12-0
6 10:35:50.694591421
+0100
@@ -49,8 +49,8 @@
@@ -49,8 +49,8 @@
#include "avutil.h"
#include "avutil.h"
#include "chroma.h"
#include "chroma.h"
...
@@ -26,10 +26,36 @@ Index: vlc-m2x.git/modules/codec/avcodec/avcodec.c
...
@@ -26,10 +26,36 @@ Index: vlc-m2x.git/modules/codec/avcodec/avcodec.c
#endif
#endif
/*****************************************************************************
/*****************************************************************************
@@ -313,11 +313,13 @@
i_result = InitAudioDec ( p_dec, p_context, p_codec,
i_codec_id, psz_namecodec );
break;
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 25, 0 )
case SPU_ES:
p_dec->pf_decode_sub = DecodeSubtitle;
i_result = InitSubtitleDec( p_dec, p_context, p_codec,
i_codec_id, psz_namecodec );
break;
+#endif
default:
i_result = VLC_EGENERIC;
}
@@ -350,9 +352,11 @@
case VIDEO_ES:
EndVideoDec ( p_dec );
break;
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 25, 0 )
case SPU_ES:
EndSubtitleDec( p_dec );
break;
+#endif
}
if( p_sys->p_context )
Index: vlc-m2x.git/modules/codec/avcodec/fourcc.c
Index: vlc-m2x.git/modules/codec/avcodec/fourcc.c
===================================================================
===================================================================
--- vlc-m2x.git.orig/modules/codec/avcodec/fourcc.c 2010-12-0
1 12:50:54.673618908
+0100
--- vlc-m2x.git.orig/modules/codec/avcodec/fourcc.c 2010-12-0
6 10:12:07.759256910
+0100
+++ vlc-m2x.git/modules/codec/avcodec/fourcc.c 2010-12-0
1 12:52:14.581659823
+0100
+++ vlc-m2x.git/modules/codec/avcodec/fourcc.c 2010-12-0
6 10:13:10.702545940
+0100
@@ -364,7 +364,9 @@
@@ -364,7 +364,9 @@
{ VLC_CODEC_SHORTEN, CODEC_ID_SHORTEN, AUDIO_ES },
{ VLC_CODEC_SHORTEN, CODEC_ID_SHORTEN, AUDIO_ES },
...
@@ -40,3 +66,29 @@ Index: vlc-m2x.git/modules/codec/avcodec/fourcc.c
...
@@ -40,3 +66,29 @@ Index: vlc-m2x.git/modules/codec/avcodec/fourcc.c
{ VLC_CODEC_MLP, CODEC_ID_MLP, AUDIO_ES },
{ VLC_CODEC_MLP, CODEC_ID_MLP, AUDIO_ES },
Index: vlc-m2x.git/modules/codec/avcodec/avcodec.h
===================================================================
--- vlc-m2x.git.orig/modules/codec/avcodec/avcodec.h 2010-12-06 10:38:20.030539398 +0100
+++ vlc-m2x.git/modules/codec/avcodec/avcodec.h 2010-12-06 10:38:33.554531031 +0100
@@ -31,7 +31,9 @@
picture_t * DecodeVideo ( decoder_t *, block_t ** );
aout_buffer_t * DecodeAudio( decoder_t *, block_t ** );
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 25, 0 )
subpicture_t *DecodeSubtitle( decoder_t *p_dec, block_t ** );
+#endif
/* Video encoder module */
int OpenEncoder ( vlc_object_t * );
@@ -58,9 +60,11 @@
void EndAudioDec( decoder_t *p_dec );
/* Subtitle Decoder */
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 25, 0 )
int InitSubtitleDec( decoder_t *p_dec, AVCodecContext *p_context,
AVCodec *p_codec, int i_codec_id, const char *psz_namecodec );
void EndSubtitleDec( decoder_t *p_dec );
+#endif
/* Initialize decoder */
int ffmpeg_OpenCodec( decoder_t *p_dec );
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