diff options
author | David Schleef <ds@schleef.org> | 2003-10-31 03:43:25 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2003-10-31 03:43:25 +0000 |
commit | 815423e05e71127e0169ed180a0a0dc995b51069 (patch) | |
tree | 16d6ea9960c1c1126b74490bd12a24dfbd75cd56 | |
parent | 454bcb58ac22da4655f3d97a5a4872f9727aca01 (diff) | |
download | gst-libav-815423e05e71127e0169ed180a0a0dc995b51069.tar.gz |
Fix compile problem on gcc-2.95. Fixes #125635.
Original commit message from CVS:
Fix compile problem on gcc-2.95. Fixes #125635.
-rw-r--r-- | ext/ffmpeg/gstffmpegcodecmap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/ffmpeg/gstffmpegcodecmap.c b/ext/ffmpeg/gstffmpegcodecmap.c index 0ec0c32..2644655 100644 --- a/ext/ffmpeg/gstffmpegcodecmap.c +++ b/ext/ffmpeg/gstffmpegcodecmap.c @@ -44,7 +44,7 @@ "height", GST_PROPS_INT (context->height),\ "framerate", GST_PROPS_FLOAT ( \ 1.*context->frame_rate/ \ - context->frame_rate_base), \ + context->frame_rate_base) , \ ##props) \ : \ GST_CAPS_NEW (name, \ @@ -52,7 +52,7 @@ "width", GST_PROPS_INT_RANGE (16, 4096), \ "height", GST_PROPS_INT_RANGE (16, 4096), \ "framerate", GST_PROPS_FLOAT_RANGE (0, \ - G_MAXFLOAT), \ + G_MAXFLOAT) , \ ##props) /* same for audio - now with channels/sample rate @@ -63,13 +63,13 @@ GST_CAPS_NEW (name, \ mimetype, \ "rate", GST_PROPS_INT (context->sample_rate), \ - "channels", GST_PROPS_INT (context->channels), \ + "channels", GST_PROPS_INT (context->channels) , \ ##props) \ : \ GST_CAPS_NEW (name, \ mimetype, \ "rate", GST_PROPS_INT_RANGE (8000, 96000), \ - "channels", GST_PROPS_INT_RANGE (1, 2), \ + "channels", GST_PROPS_INT_RANGE (1, 2) , \ ##props) /* Convert a FFMPEG codec ID and optional AVCodecContext |