From 4efb9532701bd1cd595f4a16ef63452ebf6dabf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 21 Nov 2005 14:39:04 +0000 Subject: Update for GST_FOURCC_FORMAT API change. Original commit message from CVS: * ext/directfb/dfbvideosink.c: (gst_dfbvideosink_get_format_from_caps): * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_create): * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header), (qtdemux_parse), (qtdemux_type_get), (qtdemux_node_dump_foreach), (qtdemux_dump_hdlr), (qtdemux_dump_dref), (qtdemux_dump_stsd), (qtdemux_dump_dcom), (qtdemux_parse_trak), (qtdemux_video_caps), (qtdemux_audio_caps): * sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_caps): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list), (gst_v4l2src_capture_init), (gst_v4l2src_get_size_limits): Update for GST_FOURCC_FORMAT API change. --- ext/directfb/dfbvideosink.c | 2 +- ext/sdl/sdlvideosink.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ext') diff --git a/ext/directfb/dfbvideosink.c b/ext/directfb/dfbvideosink.c index 84dd0407..6bc9bfc0 100644 --- a/ext/directfb/dfbvideosink.c +++ b/ext/directfb/dfbvideosink.c @@ -755,7 +755,7 @@ gst_dfbvideosink_get_format_from_caps (GstCaps * caps) pixel_format = DSPF_UYVY; break; default: - GST_WARNING ("unhandled YUV format" GST_FOURCC_FORMAT, + GST_WARNING ("unhandled YUV format %" GST_FOURCC_FORMAT, GST_FOURCC_ARGS (fourcc)); goto beach; } diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c index 6d5f4129..9671a5e5 100644 --- a/ext/sdl/sdlvideosink.c +++ b/ext/sdl/sdlvideosink.c @@ -613,7 +613,7 @@ gst_sdlvideosink_create (GstSDLVideoSink * sdlvideosink) goto no_overlay; - GST_DEBUG ("Using a %dx%d %dbpp SDL screen with a %dx%d \'" + GST_DEBUG ("Using a %dx%d %dbpp SDL screen with a %dx%d \'%" GST_FOURCC_FORMAT "\' YUV overlay", GST_VIDEO_SINK_WIDTH (sdlvideosink), GST_VIDEO_SINK_HEIGHT (sdlvideosink), sdlvideosink->screen->format->BitsPerPixel, sdlvideosink->width, @@ -626,7 +626,7 @@ gst_sdlvideosink_create (GstSDLVideoSink * sdlvideosink) /*SDL_DisplayYUVOverlay (sdlvideosink->overlay, &(sdlvideosink->rect)); */ - GST_DEBUG ("sdlvideosink: setting %08x (" GST_FOURCC_FORMAT ")", + GST_DEBUG ("sdlvideosink: setting %08x (%" GST_FOURCC_FORMAT ")", sdlvideosink->format, GST_FOURCC_ARGS (sdlvideosink->format)); g_mutex_unlock (sdlvideosink->lock); @@ -645,7 +645,7 @@ no_screen: no_overlay: { GST_ELEMENT_ERROR (sdlvideosink, LIBRARY, TOO_LAZY, (NULL), - ("SDL: Couldn't create SDL YUV overlay (%dx%d \'" GST_FOURCC_FORMAT + ("SDL: Couldn't create SDL YUV overlay (%dx%d \'%" GST_FOURCC_FORMAT "\'): %s", sdlvideosink->width, sdlvideosink->height, GST_FOURCC_ARGS (sdlvideosink->format), SDL_GetError ())); g_mutex_unlock (sdlvideosink->lock); -- cgit v1.2.1