summaryrefslogtreecommitdiff
path: root/sys/ximage/ximagesink.h
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2005-11-22 16:08:37 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2005-11-22 16:08:37 +0000
commit0e82871285a50bf546192d24daeb0d088f3f40d1 (patch)
tree9d2cfcd5e957ac70713563e5b9457eb7df8b2bf4 /sys/ximage/ximagesink.h
parent08cd3b973fefc94f774b2dc30297a8543691a46a (diff)
Convert elements to use fractions for their framerate.
Original commit message from CVS: * ext/libvisual/visual.c: (gst_visual_src_setcaps), (get_buffer), (gst_visual_chain): * ext/ogg/gstogmparse.c: (gst_ogm_parse_chain): * ext/theora/theoradec.c: (theora_handle_type_packet): * ext/theora/theoraenc.c: (theora_enc_sink_setcaps), (theora_enc_chain): * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps): * gst-libs/gst/video/video.c: (gst_video_frame_rate): * gst-libs/gst/video/video.h: * gst/ffmpegcolorspace/avcodec.h: * gst/ffmpegcolorspace/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt): * gst/ffmpegcolorspace/gstffmpegcolorspace.c: (gst_ffmpegcsp_set_caps): * gst/videorate/gstvideorate.c: (gst_videorate_transformcaps), (gst_videorate_setcaps), (gst_videorate_blank_data), (gst_videorate_chain): * gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_src_fixate), (gst_videotestsrc_getcaps), (gst_videotestsrc_parse_caps), (gst_videotestsrc_setcaps), (gst_videotestsrc_event), (gst_videotestsrc_create): * gst/videotestsrc/gstvideotestsrc.h: * sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get), (gst_ximagesink_setcaps), (gst_ximagesink_change_state), (gst_ximagesink_get_times), (gst_ximagesink_init): * sys/ximage/ximagesink.h: * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support), (gst_xvimagesink_setcaps), (gst_xvimagesink_change_state), (gst_xvimagesink_get_times), (gst_xvimagesink_init): * sys/xvimage/xvimagesink.h: Convert elements to use fractions for their framerate. V4L elements to come later tonight.
Diffstat (limited to 'sys/ximage/ximagesink.h')
-rw-r--r--sys/ximage/ximagesink.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/ximage/ximagesink.h b/sys/ximage/ximagesink.h
index b5c35adc2..58a38ac16 100644
--- a/sys/ximage/ximagesink.h
+++ b/sys/ximage/ximagesink.h
@@ -125,7 +125,10 @@ struct _GstXImageSink {
GThread *event_thread;
gboolean running;
- gdouble framerate;
+ /* Framerate numerator and denominator */
+ gint fps_n;
+ gint fps_d;
+
GMutex *x_lock;
GMutex *flow_lock;