mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
ext/mad/gstid3tag.c (gst_id3_tag_get_event_masks): Reschmoove.
Original commit message from CVS: 2005-06-29 Andy Wingo <wingo@pobox.com> * ext/mad/gstid3tag.c (gst_id3_tag_get_event_masks): Reschmoove. * ext/mad/gstmad.c (gst_mad_get_event_masks): Remove. (gst_mad_chain): Appease GCC. * ext/libcaca/gstcacasink.c (gst_cacasink_setcaps): Signedness. * ext/aalib/gstaasink.c (gst_aasink_fixate): Unref caps, not free. (gst_aasink_scale): Signedness.
This commit is contained in:
parent
d9b7ddd426
commit
12dab04a2d
2 changed files with 7 additions and 6 deletions
|
@ -253,7 +253,7 @@ gst_aasink_fixate (GstPad * pad, GstCaps * caps)
|
|||
return newcaps;
|
||||
}
|
||||
|
||||
gst_caps_free (newcaps);
|
||||
gst_caps_unref (newcaps);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -305,7 +305,7 @@ gst_aasink_init (GstAASink * aasink)
|
|||
}
|
||||
|
||||
static void
|
||||
gst_aasink_scale (GstAASink * aasink, gchar * src, gchar * dest,
|
||||
gst_aasink_scale (GstAASink * aasink, guchar * src, guchar * dest,
|
||||
gint sw, gint sh, gint dw, gint dh)
|
||||
{
|
||||
gint ypos, yinc, y;
|
||||
|
|
|
@ -194,10 +194,11 @@ gst_cacasink_setcaps (GstBaseSink * basesink, GstCaps * caps)
|
|||
structure = gst_caps_get_structure (caps, 0);
|
||||
gst_structure_get_int (structure, "width", &(cacasink->width));
|
||||
gst_structure_get_int (structure, "height", &(cacasink->height));
|
||||
gst_structure_get_int (structure, "bpp", &cacasink->bpp);
|
||||
gst_structure_get_int (structure, "red_mask", &cacasink->red_mask);
|
||||
gst_structure_get_int (structure, "green_mask", &cacasink->green_mask);
|
||||
gst_structure_get_int (structure, "blue_mask", &cacasink->blue_mask);
|
||||
gst_structure_get_int (structure, "bpp", (int *) &cacasink->bpp);
|
||||
gst_structure_get_int (structure, "red_mask", (int *) &cacasink->red_mask);
|
||||
gst_structure_get_int (structure, "green_mask",
|
||||
(int *) &cacasink->green_mask);
|
||||
gst_structure_get_int (structure, "blue_mask", (int *) &cacasink->blue_mask);
|
||||
|
||||
if (cacasink->bpp == 24) {
|
||||
cacasink->red_mask = GUINT32_FROM_BE (cacasink->red_mask) >> 8;
|
||||
|
|
Loading…
Reference in a new issue