diff options
author | Stefan Kost <ensonic@users.sf.net> | 2010-08-18 11:35:44 +0300 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2010-09-06 10:24:06 +0300 |
commit | 9a03a43696f56d9feee07999cbe7ba8aab155eac (patch) | |
tree | b3fc64e23fd708cdcb1af5d1af3b43246a9ffb58 /gst/debugutils/fpsdisplaysink.c | |
parent | 60c963f0acd0bc7f290a70a61869bdb1609b2449 (diff) | |
download | gstreamer-plugins-bad-9a03a43696f56d9feee07999cbe7ba8aab155eac.tar.gz |
fpsdisplaysink: small cleanup
Add one one example and lower the fon't size for the overlay.
Diffstat (limited to 'gst/debugutils/fpsdisplaysink.c')
-rw-r--r-- | gst/debugutils/fpsdisplaysink.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/debugutils/fpsdisplaysink.c b/gst/debugutils/fpsdisplaysink.c index cc38f2e1a..bde8ac98e 100644 --- a/gst/debugutils/fpsdisplaysink.c +++ b/gst/debugutils/fpsdisplaysink.c @@ -28,6 +28,7 @@ * gst-launch videotestsrc ! fpsdisplaysink * gst-launch videotestsrc ! fpsdisplaysink text-overlay=false * gst-launch filesrc location=video.avi ! decodebin2 name=d ! queue ! fpsdisplaysink d. ! queue ! fakesink sync=true + * gst-launch playbin2 uri=file:///path/to/video.avi video-sink="fpsdisplaysink" audio-sink=fakesink * ]| * </refsect2> */ @@ -52,7 +53,7 @@ #define DEFAULT_SIGNAL_FPS_MEASUREMENTS FALSE #define DEFAULT_FPS_UPDATE_INTERVAL_MS 500 /* 500 ms */ -#define DEFAULT_FONT "Sans 20" +#define DEFAULT_FONT "Sans 15" /* generic templates */ static GstStaticPadTemplate fps_display_sink_template = |