summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-plugins/files/patch-ext_ffmpeg_gstffmpegcodecmap.c
blob: 18025870866b8a2e17aa056e5bd22a638629d7e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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