* Fix a couple minor DLNA correctness issues.

This commit is contained in:
Justin Maggard
2011-04-28 23:01:28 +00:00
parent 7068d2fda4
commit e0e0fa254d
4 changed files with 23 additions and 24 deletions

View File

@ -1034,7 +1034,8 @@ GetVideoMetadata(const char * path, char * name)
ts = ctx->priv_data;
if( ts->packet_size == 192 )
{
if( dlna_timestamp_is_present(path) )
if( vc->profile == FF_PROFILE_H264_HIGH ||
dlna_timestamp_is_present(path) )
ts_timestamp = VALID;
else
ts_timestamp = EMPTY;