mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
Fix compile problem on gcc-2.95. Fixes #125635.
Original commit message from CVS: Fix compile problem on gcc-2.95. Fixes #125635.
This commit is contained in:
parent
454bcb58ac
commit
815423e05e
1 changed files with 4 additions and 4 deletions
|
@ -44,7 +44,7 @@
|
||||||
"height", GST_PROPS_INT (context->height),\
|
"height", GST_PROPS_INT (context->height),\
|
||||||
"framerate", GST_PROPS_FLOAT ( \
|
"framerate", GST_PROPS_FLOAT ( \
|
||||||
1.*context->frame_rate/ \
|
1.*context->frame_rate/ \
|
||||||
context->frame_rate_base), \
|
context->frame_rate_base) , \
|
||||||
##props) \
|
##props) \
|
||||||
: \
|
: \
|
||||||
GST_CAPS_NEW (name, \
|
GST_CAPS_NEW (name, \
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
"width", GST_PROPS_INT_RANGE (16, 4096), \
|
"width", GST_PROPS_INT_RANGE (16, 4096), \
|
||||||
"height", GST_PROPS_INT_RANGE (16, 4096), \
|
"height", GST_PROPS_INT_RANGE (16, 4096), \
|
||||||
"framerate", GST_PROPS_FLOAT_RANGE (0, \
|
"framerate", GST_PROPS_FLOAT_RANGE (0, \
|
||||||
G_MAXFLOAT), \
|
G_MAXFLOAT) , \
|
||||||
##props)
|
##props)
|
||||||
|
|
||||||
/* same for audio - now with channels/sample rate
|
/* same for audio - now with channels/sample rate
|
||||||
|
@ -63,13 +63,13 @@
|
||||||
GST_CAPS_NEW (name, \
|
GST_CAPS_NEW (name, \
|
||||||
mimetype, \
|
mimetype, \
|
||||||
"rate", GST_PROPS_INT (context->sample_rate), \
|
"rate", GST_PROPS_INT (context->sample_rate), \
|
||||||
"channels", GST_PROPS_INT (context->channels), \
|
"channels", GST_PROPS_INT (context->channels) , \
|
||||||
##props) \
|
##props) \
|
||||||
: \
|
: \
|
||||||
GST_CAPS_NEW (name, \
|
GST_CAPS_NEW (name, \
|
||||||
mimetype, \
|
mimetype, \
|
||||||
"rate", GST_PROPS_INT_RANGE (8000, 96000), \
|
"rate", GST_PROPS_INT_RANGE (8000, 96000), \
|
||||||
"channels", GST_PROPS_INT_RANGE (1, 2), \
|
"channels", GST_PROPS_INT_RANGE (1, 2) , \
|
||||||
##props)
|
##props)
|
||||||
|
|
||||||
/* Convert a FFMPEG codec ID and optional AVCodecContext
|
/* Convert a FFMPEG codec ID and optional AVCodecContext
|
||||||
|
|
Loading…
Reference in a new issue