mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
fix segfault
Original commit message from CVS: fix segfault
This commit is contained in:
parent
299228a338
commit
28fb7d2c39
1 changed files with 2 additions and 1 deletions
|
@ -406,7 +406,8 @@ print_element_info (GstElementFactory *factory)
|
|||
GstClock *clock;
|
||||
|
||||
clock = gst_element_get_clock (element);
|
||||
printf(" element provides a clock: %s\n", GST_OBJECT_NAME(clock));
|
||||
if (clock)
|
||||
printf(" element provides a clock: %s\n", GST_OBJECT_NAME(clock));
|
||||
have_flags = TRUE;
|
||||
}
|
||||
if (!have_flags) {
|
||||
|
|
Loading…
Reference in a new issue