mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
replace framerate aproximations by their real value (24000/1001, 30000/1001, 60000/1001)
Original commit message from CVS: * ext/dv/gstdvdec.c: * ext/libfame/gstlibfame.c: * gst/subparse/gstsubparse.c: (parse_mdvdsub): * gst/y4m/gsty4mencode.c: (gst_y4mencode_sinkconnect): replace framerate aproximations by their real value (24000/1001, 30000/1001, 60000/1001) Finish fixing bug #164049
This commit is contained in:
parent
ad1aad031b
commit
2085403d60
3 changed files with 17 additions and 7 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2005-01-14 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
|
||||
|
||||
* ext/dv/gstdvdec.c:
|
||||
* ext/libfame/gstlibfame.c:
|
||||
* gst/subparse/gstsubparse.c: (parse_mdvdsub):
|
||||
* gst/y4m/gsty4mencode.c: (gst_y4mencode_sinkconnect):
|
||||
replace framerate aproximations by their real value
|
||||
(24000/1001, 30000/1001, 60000/1001)
|
||||
Finish fixing bug #164049
|
||||
|
||||
2005-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* ext/ogg/gstoggmux.c:
|
||||
|
|
|
@ -69,8 +69,8 @@ static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
|
|||
"format = (fourcc) I420, "
|
||||
"width = (int) [ 16, 4096 ], "
|
||||
"height = (int) [ 16, 4096 ], "
|
||||
"framerate = (double) { 23.976024, 24.0, 25.0, 29.970030, 30.0, "
|
||||
" 50.0, 59.940060, 60.0 }")
|
||||
"framerate = (double) { 23.976023976, 24.0, 25.0, 29.97002997, 30.0, "
|
||||
" 50.0, 59.94005994, 60.0 }")
|
||||
);
|
||||
|
||||
static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
|
||||
|
@ -81,8 +81,8 @@ static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
|
|||
"systemstream = (boolean) FALSE, "
|
||||
"width = (int) [ 16, 4096 ], "
|
||||
"height = (int) [ 16, 4096 ], "
|
||||
"framerate = (double) { 23.976024, 24.0, 25.0, 29.970030, 30.0, "
|
||||
" 50.0, 59.940060, 60.0 }")
|
||||
"framerate = (double) { 23.976023976, 24.0, 25.0, 29.97002997, 30.0, "
|
||||
" 50.0, 59.94005994, 60.0 }")
|
||||
);
|
||||
|
||||
#define MAX_FRAME_RATES 9
|
||||
|
|
|
@ -136,11 +136,11 @@ gst_y4mencode_sinkconnect (GstPad * pad, const GstCaps * caps)
|
|||
gdouble fps;
|
||||
gdouble framerates[] = {
|
||||
00.000,
|
||||
23.976, 24.000, /* 24fps movie */
|
||||
24000 / 1001, 24.000, /* 24fps movie */
|
||||
25.000, /* PAL */
|
||||
29.970, 30.000, /* NTSC */
|
||||
30000 / 1001, 30.000, /* NTSC */
|
||||
50.000,
|
||||
59.940, 60.000
|
||||
60000 / 1001, 60.000
|
||||
};
|
||||
GstStructure *structure;
|
||||
|
||||
|
|
Loading…
Reference in a new issue