Commit 7be88d32 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

use backtrace with vlc_object_get warning

parent e9962157
...@@ -559,7 +559,8 @@ void * vlc_object_get( libvlc_int_t *p_anchor, int i_id ) ...@@ -559,7 +559,8 @@ void * vlc_object_get( libvlc_int_t *p_anchor, int i_id )
vlc_object_t *obj = NULL; vlc_object_t *obj = NULL;
#ifndef NDEBUG #ifndef NDEBUG
int canc = vlc_savecancel (); int canc = vlc_savecancel ();
fprintf (stderr, "Use of deprecated vlc_object_get(%d)\n", i_id); fprintf (stderr, "Use of deprecated vlc_object_get(%d) ", i_id);
vlc_backtrace ();
vlc_restorecancel (canc); vlc_restorecancel (canc);
#endif #endif
vlc_mutex_lock( &structure_lock ); vlc_mutex_lock( &structure_lock );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment