From 9a03a43696f56d9feee07999cbe7ba8aab155eac Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Wed, 18 Aug 2010 11:35:44 +0300 Subject: fpsdisplaysink: small cleanup Add one one example and lower the fon't size for the overlay. --- gst/debugutils/fpsdisplaysink.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gst/debugutils/fpsdisplaysink.c') 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 * ]| * */ @@ -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 = -- cgit v1.2.1