Lines 1-31
Link Here
|
1 |
--- ext/ffmpeg/gstffmpegcodecmap.c.orig Fri Feb 6 15:29:09 2004 |
|
|
2 |
+++ ext/ffmpeg/gstffmpegcodecmap.c Fri Feb 6 15:40:14 2004 |
3 |
@@ -44,13 +44,13 @@ |
4 |
"width", G_TYPE_INT, context->width, \ |
5 |
"height", G_TYPE_INT, context->height, \ |
6 |
"framerate", G_TYPE_DOUBLE, 1. * context->frame_rate / \ |
7 |
- context->frame_rate_base, \ |
8 |
+ context->frame_rate_base , \ |
9 |
##props, NULL) \ |
10 |
: \ |
11 |
gst_caps_new_simple (mimetype, \ |
12 |
"width", GST_TYPE_INT_RANGE, 16, 4096, \ |
13 |
"height", GST_TYPE_INT_RANGE, 16, 4096, \ |
14 |
- "framerate", GST_TYPE_DOUBLE_RANGE, 0., G_MAXDOUBLE, \ |
15 |
+ "framerate", GST_TYPE_DOUBLE_RANGE, 0., G_MAXDOUBLE , \ |
16 |
##props, NULL) |
17 |
|
18 |
/* same for audio - now with channels/sample rate |
19 |
@@ -60,10 +60,10 @@ |
20 |
(context != NULL) ? \ |
21 |
gst_caps_new_simple (mimetype, \ |
22 |
"rate", G_TYPE_INT, context->sample_rate, \ |
23 |
- "channels", G_TYPE_INT, context->channels, \ |
24 |
+ "channels", G_TYPE_INT, context->channels , \ |
25 |
##props, NULL) \ |
26 |
: \ |
27 |
- gst_caps_new_simple (mimetype, \ |
28 |
+ gst_caps_new_simple (mimetype , \ |
29 |
##props, NULL) |
30 |
|
31 |
/* Convert a FFMPEG codec ID and optional AVCodecContext |