-#else
- /* keep this just in case it might be allowed one day ;) */
- vout_thread_t *p_vout;
- p_vout = vlc_object_find( (vlc_object_t*)p_dec, VLC_OBJECT_VOUT, FIND_CHILD );
- if( p_vout )
- {
- decoder_sys_t *p_sys = p_dec->p_sys;
- if( p_sys->ki.original_canvas_width > 0 && p_sys->ki.original_canvas_height > 0 )
- {
- *w = p_sys->ki.original_canvas_width;
- *h = p_sys->ki.original_canvas_height;
- }
- else
- {
- *w = p_vout->fmt_in.i_width;
- *h = p_vout->fmt_in.i_height;
- }
- msg_Dbg( p_dec, "video: in %d %d, out %d %d, original canvas %zu %zu",
- p_vout->fmt_in.i_width, p_vout->fmt_in.i_height,
- p_vout->fmt_out.i_width, p_vout->fmt_out.i_height,
- p_sys->ki.original_canvas_width, p_sys->ki.original_canvas_height );
- vlc_object_release( p_vout );
- }
-#endif