summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRodeo <[email protected]>2012-06-18 20:44:24 +0000
committerRodeo <[email protected]>2012-06-18 20:44:24 +0000
commit510564b19b5a6d7ac77091cd02ec9c557941399f (patch)
treed4cd1561e7079cae86b3553cdacd2356dbe415e0 /contrib
parent81a4e15077e5f12d8673688d8910d5c1bf1581bc (diff)
Fix yet another stupid overshight on my part.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4753 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libmkv/A01-hbmv-pgs.patch12
-rw-r--r--contrib/libmkv/A02-audio-out-sampling-freq.patch28
2 files changed, 0 insertions, 40 deletions
diff --git a/contrib/libmkv/A01-hbmv-pgs.patch b/contrib/libmkv/A01-hbmv-pgs.patch
index ed83c51e8..9f863cac4 100644
--- a/contrib/libmkv/A01-hbmv-pgs.patch
+++ b/contrib/libmkv/A01-hbmv-pgs.patch
@@ -10,15 +10,3 @@ index 146a91f..f03d608 100644
/* Official Tags */
#define MK_TAG_TITLE "TITLE"
-diff --git a/include/libmkv.h b/include/libmkv.h
-index 146a91f..f03d608 100644
---- a/include/libmkv.h
-+++ b/include/libmkv.h
-@@ -94,6 +94,7 @@ extern "C" {
- #define MK_SUBTITLE_USF "S_TEXT/USF"
- #define MK_SUBTITLE_VOBSUB "S_VOBSUB"
- #define MK_SUBTITLE_BMP "S_IMAGE/BMP"
-+#define MK_SUBTITLE_PGS "S_HDMV/PGS"
-
- /* Official Tags */
- #define MK_TAG_TITLE "TITLE"
diff --git a/contrib/libmkv/A02-audio-out-sampling-freq.patch b/contrib/libmkv/A02-audio-out-sampling-freq.patch
index 12c05dda7..ea31957c1 100644
--- a/contrib/libmkv/A02-audio-out-sampling-freq.patch
+++ b/contrib/libmkv/A02-audio-out-sampling-freq.patch
@@ -26,31 +26,3 @@ index f9c7e48..a2a60ca 100644
/* Channels */
if (mk_writeUInt(v, MATROSKA_ID_AUDIOCHANNELS, tc->extra.audio.channels) < 0)
return NULL;
-diff --git a/include/libmkv.h b/include/libmkv.h
-index 146a91f..f03d608 100644
---- a/include/libmkv.h
-+++ b/include/libmkv.h
-@@ -203,6 +204,7 @@ struct mk_TrackConfig_s {
- } video;
- struct {
- float samplingFreq; /* Sampling Frequency in Hz */
-+ float outputSamplingFreq; /* Playback Sampling Frequency in Hz (e.g. for AAC w/SBR) */
- unsigned channels; /* Number of channels for this track */
- unsigned bitDepth; /* Bits per sample (PCM) */
- } audio;
-diff --git a/src/tracks.c b/src/tracks.c
-index f9c7e48..a2a60ca 100644
---- a/src/tracks.c
-+++ b/src/tracks.c
-@@ -174,6 +174,11 @@ mk_Track *mk_createTrack(mk_Writer *w, mk_TrackConfig *tc)
- /* SamplingFrequency */
- if (mk_writeFloat(v, MATROSKA_ID_AUDIOSAMPLINGFREQ, tc->extra.audio.samplingFreq) < 0)
- return NULL;
-+ if (tc->extra.audio.outputSamplingFreq) {
-+ /* Output SamplingFrequency */
-+ if (mk_writeFloat(v, MATROSKA_ID_AUDIOOUTSAMPLINGFREQ, tc->extra.audio.outputSamplingFreq) < 0)
-+ return NULL;
-+ }
- /* Channels */
- if (mk_writeUInt(v, MATROSKA_ID_AUDIOCHANNELS, tc->extra.audio.channels) < 0)
- return NULL;