mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
ext/dv/gstdvdec.c: really fix bpp24/32 dvdec caps (classic rgba indeed)
Original commit message from CVS: * ext/dv/gstdvdec.c: really fix bpp24/32 dvdec caps (classic rgba indeed) * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_ext_content_desc): don't send text tags if they are empty (bis repetita)
This commit is contained in:
parent
861ca32178
commit
d907787182
2 changed files with 16 additions and 6 deletions
|
@ -1,3 +1,11 @@
|
|||
2005-01-08 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
|
||||
|
||||
* ext/dv/gstdvdec.c:
|
||||
really fix bpp24/32 dvdec caps (classic rgba indeed)
|
||||
* gst/asfdemux/gstasfdemux.c:
|
||||
(gst_asf_demux_process_ext_content_desc):
|
||||
don't send text tags if they are empty (bis repetita)
|
||||
|
||||
2005-01-08 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
|
||||
|
||||
* ext/dv/gstdvdec.c:
|
||||
|
|
|
@ -725,7 +725,6 @@ IsVBR
|
|||
|
||||
/* get rid of tags with empty value */
|
||||
if (strlen (value)) {
|
||||
have_tags = TRUE;
|
||||
g_value_init (&tag_value, G_TYPE_STRING);
|
||||
g_value_set_string (&tag_value, value);
|
||||
}
|
||||
|
@ -733,16 +732,19 @@ IsVBR
|
|||
|
||||
/* 0003 = DWORD */
|
||||
if (datatype == 3) {
|
||||
have_tags = TRUE;
|
||||
g_value_init (&tag_value, G_TYPE_INT);
|
||||
g_value_set_int (&tag_value, GUINT32_FROM_LE ((guint32) * value));
|
||||
}
|
||||
|
||||
gst_tag_list_add_values (taglist, GST_TAG_MERGE_APPEND, tags[tag],
|
||||
&tag_value, NULL);
|
||||
if (G_IS_VALUE (&tag_value)) {
|
||||
gst_tag_list_add_values (taglist, GST_TAG_MERGE_APPEND, tags[tag],
|
||||
&tag_value, NULL);
|
||||
|
||||
g_value_unset (&tag_value);
|
||||
};
|
||||
g_value_unset (&tag_value);
|
||||
|
||||
have_tags = TRUE;
|
||||
}
|
||||
}
|
||||
j++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue