summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/patches/patch-ba
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2004-10-27 20:31:33 +0000
committerdrochner <drochner@pkgsrc.org>2004-10-27 20:31:33 +0000
commit4c8677a37b74d7f4401c7991bd3fe659ec8d0daf (patch)
treeafa27809017e0e433b17b8a464a9cc8b7eafac22 /multimedia/xine-lib/patches/patch-ba
parent5cd812982e7f160bc11cd7d9d343c4f99137be0c (diff)
downloadpkgsrc-4c8677a37b74d7f4401c7991bd3fe659ec8d0daf.tar.gz
update to xine-lib-1-rc6a
New Features: - Added support for Annodex bitsream format. The Annodex bitstream format is a subset of the Ogg encapsulation format: it"s basically Ogg with extra timing information, so that time-based stream - Added support for VobSub-in-Matroska (Vobsub is raw subtitle stream from a DVD. This patch enables support for VobSub - Added support for 44100Hz DTS in .wav files - Added experimental time stretching plugin: play stream faster or slower than original speed, optionally preserving pitch - Added configure option for building xine with external ffmpeg library - Added api for finer playback speed control (requires frontend support) - Added support for QuickTime 6.3 DLLs - Added support for mp3 audio in mp4 files - Added support for using utf-8 for matroska subtitles
Diffstat (limited to 'multimedia/xine-lib/patches/patch-ba')
-rw-r--r--multimedia/xine-lib/patches/patch-ba52
1 files changed, 4 insertions, 48 deletions
diff --git a/multimedia/xine-lib/patches/patch-ba b/multimedia/xine-lib/patches/patch-ba
index 49e22f18e69..27165233d09 100644
--- a/multimedia/xine-lib/patches/patch-ba
+++ b/multimedia/xine-lib/patches/patch-ba
@@ -1,44 +1,9 @@
-$NetBSD: patch-ba,v 1.1 2004/08/10 11:24:46 drochner Exp $
+$NetBSD: patch-ba,v 1.2 2004/10/27 20:31:33 drochner Exp $
---- src/input/vcd/xineplug_inp_vcd.c.orig 2004-06-13 23:28:56.000000000 +0200
+--- src/input/vcd/xineplug_inp_vcd.c.orig 2004-07-27 04:08:48.000000000 +0200
+++ src/input/vcd/xineplug_inp_vcd.c
-@@ -48,6 +48,7 @@
- #define SHORT_PLUGIN_NAME "VCD"
- #define MRL_PREFIX "vcd://"
- #define MRL_PREFIX_LEN strlen(MRL_PREFIX)
-+#define MRL_MAX_LEN 1024
-
- #define xine_config_entry_t xine_cfg_entry_t
-
-@@ -474,7 +475,7 @@ vcd_parse_mrl(/*in*/ const char *default
- return false;
- }
-
-- count = sscanf (p, "%[^@]@%1[EePpSsTt]%u",
-+ count = sscanf (p, "%1024[^@]@%1[EePpSsTt]%u",
- device_str, type_str, &num);
- itemid->num = num;
-
-@@ -498,7 +499,7 @@ vcd_parse_mrl(/*in*/ const char *default
- {
- /* No device/file given, so use the default device and try again. */
- if (NULL == default_vcd_device) return false;
-- strcpy(device_str, default_vcd_device);
-+ strncpy(device_str, default_vcd_device, MRL_MAX_LEN);
- if (p[0] == '@') p++;
- count = sscanf (p, "%1[EePpSsTt]%u", type_str, &num);
- type_str[0] = toupper(type_str[0]);
-@@ -790,7 +791,7 @@ static xine_mrl_t **
- vcd_class_get_dir (input_class_t *this_gen, const char *filename,
- int *num_files) {
-
-- char intended_vcd_device[1024]="";
-+ char intended_vcd_device[MRL_MAX_LEN+1]="";
- vcdinfo_itemid_t itemid;
-
- vcd_input_class_t *class = (vcd_input_class_t *) this_gen;
-@@ -922,7 +923,7 @@ vcd_class_get_description (input_class_t
- static char *
+@@ -923,7 +923,7 @@ vcd_class_get_description (input_class_t
+ static const char *
vcd_class_get_identifier (input_class_t *this_gen) {
dbg_print((INPUT_DBG_CALL|INPUT_DBG_EXT), "called\n");
- return SHORT_PLUGIN_NAME;
@@ -46,12 +11,3 @@ $NetBSD: patch-ba,v 1.1 2004/08/10 11:24:46 drochner Exp $
}
/*
-@@ -1452,7 +1453,7 @@ vcd_class_get_instance (input_class_t *c
- {
- vcd_input_class_t *class = (vcd_input_class_t *) class_gen;
-
-- char intended_vcd_device[1024]="";
-+ char intended_vcd_device[MRL_MAX_LEN+1]="";
- vcdinfo_itemid_t itemid;
- char *check_mrl=NULL;
- bool used_default;