mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
gst/smpte/gstsmpte.c: Let's try this again and use the right cast this time.
Original commit message from CVS: * gst/smpte/gstsmpte.c: (gst_smpte_transition_type_get_type): Let's try this again and use the right cast this time.
This commit is contained in:
parent
7dd530e6c4
commit
2a873dd98e
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-02-06 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/smpte/gstsmpte.c: (gst_smpte_transition_type_get_type):
|
||||
Let's try this again and use the right cast this time.
|
||||
|
||||
2007-02-06 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/smpte/gstsmpte.c: (gst_smpte_transition_type_get_type):
|
||||
|
|
|
@ -146,8 +146,9 @@ gst_smpte_transition_type_get_type (void)
|
|||
definitions = g_list_next (definitions);
|
||||
|
||||
smpte_transitions[i].value = definition->type;
|
||||
smpte_transitions[i].value_nick = (const gchar *) definition->short_name;
|
||||
smpte_transitions[i].value_name = (const gchar *) definition->long_name;
|
||||
/* older GLib versions have the two fields as non-const, hence the cast */
|
||||
smpte_transitions[i].value_nick = (gchar *) definition->short_name;
|
||||
smpte_transitions[i].value_name = (gchar *) definition->long_name;
|
||||
|
||||
i++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue