summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-plugins80/files/patch-ext_ffmpeg_gstffmpegcodecmap.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-02-07 06:06:08 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-02-07 06:06:08 +0800
commit4a604888e145dfe25aeeb9ccf162584a4ee1d1dc (patch)
tree4083c21e1a0af9f2cde05cb5339e776f98394784 /multimedia/gstreamer-plugins80/files/patch-ext_ffmpeg_gstffmpegcodecmap.c
parent4b822c4159d54c13c95ec4ad884e668e1718bda5 (diff)
downloadmarcuscom-ports-4a604888e145dfe25aeeb9ccf162584a4ee1d1dc.tar
marcuscom-ports-4a604888e145dfe25aeeb9ccf162584a4ee1d1dc.tar.gz
marcuscom-ports-4a604888e145dfe25aeeb9ccf162584a4ee1d1dc.tar.bz2
marcuscom-ports-4a604888e145dfe25aeeb9ccf162584a4ee1d1dc.tar.lz
marcuscom-ports-4a604888e145dfe25aeeb9ccf162584a4ee1d1dc.tar.xz
marcuscom-ports-4a604888e145dfe25aeeb9ccf162584a4ee1d1dc.tar.zst
marcuscom-ports-4a604888e145dfe25aeeb9ccf162584a4ee1d1dc.zip
Update to 0.7.4.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1785 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/gstreamer-plugins80/files/patch-ext_ffmpeg_gstffmpegcodecmap.c')
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-ext_ffmpeg_gstffmpegcodecmap.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins80/files/patch-ext_ffmpeg_gstffmpegcodecmap.c b/multimedia/gstreamer-plugins80/files/patch-ext_ffmpeg_gstffmpegcodecmap.c
new file mode 100644
index 000000000..180258708
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/files/patch-ext_ffmpeg_gstffmpegcodecmap.c
@@ -0,0 +1,31 @@
+--- ext/ffmpeg/gstffmpegcodecmap.c.orig Fri Feb 6 15:29:09 2004
++++ ext/ffmpeg/gstffmpegcodecmap.c Fri Feb 6 15:40:14 2004
+@@ -44,13 +44,13 @@
+ "width", G_TYPE_INT, context->width, \
+ "height", G_TYPE_INT, context->height, \
+ "framerate", G_TYPE_DOUBLE, 1. * context->frame_rate / \
+- context->frame_rate_base, \
++ context->frame_rate_base , \
+ ##props, NULL) \
+ : \
+ gst_caps_new_simple (mimetype, \
+ "width", GST_TYPE_INT_RANGE, 16, 4096, \
+ "height", GST_TYPE_INT_RANGE, 16, 4096, \
+- "framerate", GST_TYPE_DOUBLE_RANGE, 0., G_MAXDOUBLE, \
++ "framerate", GST_TYPE_DOUBLE_RANGE, 0., G_MAXDOUBLE , \
+ ##props, NULL)
+
+ /* same for audio - now with channels/sample rate
+@@ -60,10 +60,10 @@
+ (context != NULL) ? \
+ gst_caps_new_simple (mimetype, \
+ "rate", G_TYPE_INT, context->sample_rate, \
+- "channels", G_TYPE_INT, context->channels, \
++ "channels", G_TYPE_INT, context->channels , \
+ ##props, NULL) \
+ : \
+- gst_caps_new_simple (mimetype, \
++ gst_caps_new_simple (mimetype , \
+ ##props, NULL)
+
+ /* Convert a FFMPEG codec ID and optional AVCodecContext