mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
Convert some of the broken fourcc printing to GST_FOURCC_FORMAT
Original commit message from CVS: Convert some of the broken fourcc printing to GST_FOURCC_FORMAT
This commit is contained in:
parent
af874cb250
commit
bb9387fde2
1 changed files with 3 additions and 3 deletions
|
@ -239,7 +239,6 @@ static GstPadLinkReturn
|
||||||
gst_aasink_sinkconnect (GstPad *pad, GstCaps *caps)
|
gst_aasink_sinkconnect (GstPad *pad, GstCaps *caps)
|
||||||
{
|
{
|
||||||
GstAASink *aasink;
|
GstAASink *aasink;
|
||||||
gulong print_format;
|
|
||||||
|
|
||||||
aasink = GST_AASINK (gst_pad_get_parent (pad));
|
aasink = GST_AASINK (gst_pad_get_parent (pad));
|
||||||
|
|
||||||
|
@ -249,9 +248,10 @@ gst_aasink_sinkconnect (GstPad *pad, GstCaps *caps)
|
||||||
gst_caps_get_int (caps, "width", &aasink->width);
|
gst_caps_get_int (caps, "width", &aasink->width);
|
||||||
gst_caps_get_int (caps, "height", &aasink->height);
|
gst_caps_get_int (caps, "height", &aasink->height);
|
||||||
|
|
||||||
print_format = GULONG_FROM_LE (aasink->format);
|
/* FIXME aasink->format is never set */
|
||||||
|
|
||||||
GST_DEBUG (0, "aasink: setting %08lx (%4.4s)", aasink->format, (gchar*)&print_format);
|
GST_DEBUG (0, "aasink: setting %08lx (" GST_FOURCC_FORMAT ")",
|
||||||
|
aasink->format, GST_FOURCC_ARGS(aasink->format));
|
||||||
|
|
||||||
g_signal_emit( G_OBJECT (aasink), gst_aasink_signals[SIGNAL_HAVE_SIZE], 0,
|
g_signal_emit( G_OBJECT (aasink), gst_aasink_signals[SIGNAL_HAVE_SIZE], 0,
|
||||||
aasink->width, aasink->height);
|
aasink->width, aasink->height);
|
||||||
|
|
Loading…
Reference in a new issue