Commit 72950831 authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Paul Saman

Add more debug in video decoders to track problems

Signed-off-by: Jean-Paul Saman's avatarJean-Paul Saman <jean-paul.saman@m2x.nl>
parent 4dd28361
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <ti/sdo/ce/CERuntime.h> #include <ti/sdo/ce/CERuntime.h>
#include <ti/sdo/ce/Engine.h> #include <ti/sdo/ce/Engine.h>
/* #define DEBUG_DAVINCI */ #define DEBUG_DAVINCI
int OpenVideoDecoder( vlc_object_t * ); int OpenVideoDecoder( vlc_object_t * );
void CloseVideoDecoder( vlc_object_t * ); void CloseVideoDecoder( vlc_object_t * );
......
...@@ -333,6 +333,11 @@ int OpenVideoDecoder( vlc_object_t *p_this ) ...@@ -333,6 +333,11 @@ int OpenVideoDecoder( vlc_object_t *p_this )
params.maxFrameRate = 25000; /* in frames per 1000 seconds */ params.maxFrameRate = 25000; /* in frames per 1000 seconds */
params.maxBitRate = 1000000; /* in bits per second */ params.maxBitRate = 1000000; /* in bits per second */
msg_Dbg( p_dec, "Trying to decode %dx%d @%.2f fps (%.2f kbps)",
(int)params.maxWidth, (int)params.maxHeight,
(float)params.maxFrameRate / 1000,
(float)params.maxBitRate / 1000 );
params.dataEndianness = XDM_BYTE; params.dataEndianness = XDM_BYTE;
params.forceChromaFormat = VlcChromaToXdm( i_chroma ); params.forceChromaFormat = VlcChromaToXdm( i_chroma );
if( params.forceChromaFormat == XDM_CHROMA_NA ) if( params.forceChromaFormat == XDM_CHROMA_NA )
......
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