mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:36:20 +00:00
gst/schedulers/entryscheduler.c: fix for GST_DISABLE_DEBUG
Original commit message from CVS: * gst/schedulers/entryscheduler.c: (gst_entry_scheduler_remove_element): fix for GST_DISABLE_DEBUG * tools/gst-launch.c: (print_tag): fixes for G_DISABLE_ASSERT
This commit is contained in:
parent
afc9c06eb5
commit
f1472b4ed2
3 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2004-08-03 Benjamin Otte <otte@gnome.org>
|
||||||
|
|
||||||
|
* gst/schedulers/entryscheduler.c:
|
||||||
|
(gst_entry_scheduler_remove_element):
|
||||||
|
fix for GST_DISABLE_DEBUG
|
||||||
|
* tools/gst-launch.c: (print_tag):
|
||||||
|
fixes for G_DISABLE_ASSERT
|
||||||
|
|
||||||
2004-08-03 Benjamin Otte <otte@gnome.org>
|
2004-08-03 Benjamin Otte <otte@gnome.org>
|
||||||
|
|
||||||
* gst/gst.c: (gst_register_core_elements):
|
* gst/gst.c: (gst_register_core_elements):
|
||||||
|
|
|
@ -873,10 +873,8 @@ static void
|
||||||
gst_entry_scheduler_remove_element (GstScheduler * scheduler,
|
gst_entry_scheduler_remove_element (GstScheduler * scheduler,
|
||||||
GstElement * element)
|
GstElement * element)
|
||||||
{
|
{
|
||||||
GstEntryScheduler *sched = GST_ENTRY_SCHEDULER (scheduler);
|
|
||||||
|
|
||||||
if (GST_FLAG_IS_SET (element, GST_ELEMENT_DECOUPLED)) {
|
if (GST_FLAG_IS_SET (element, GST_ELEMENT_DECOUPLED)) {
|
||||||
GST_INFO_OBJECT (sched, "decoupled element %s added, ignoring",
|
GST_INFO_OBJECT (scheduler, "decoupled element %s added, ignoring",
|
||||||
GST_OBJECT_NAME (element));
|
GST_OBJECT_NAME (element));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -292,7 +292,8 @@ print_tag (const GstTagList * list, const gchar * tag, gpointer unused)
|
||||||
gchar *str;
|
gchar *str;
|
||||||
|
|
||||||
if (gst_tag_get_type (tag) == G_TYPE_STRING) {
|
if (gst_tag_get_type (tag) == G_TYPE_STRING) {
|
||||||
g_assert (gst_tag_list_get_string_index (list, tag, i, &str));
|
if (!gst_tag_list_get_string_index (list, tag, i, &str))
|
||||||
|
g_assert_not_reached ();
|
||||||
} else {
|
} else {
|
||||||
str =
|
str =
|
||||||
g_strdup_value_contents (gst_tag_list_get_value_index (list, tag, i));
|
g_strdup_value_contents (gst_tag_list_get_value_index (list, tag, i));
|
||||||
|
|
Loading…
Reference in a new issue