vlc | branch: master | Steve Lhomme <[email protected]> | Thu Jul 26 09:31:39 2018 +0200| [ac21adfacc3e218bae6031eaf0f1e31e8905f959] | committer: Steve Lhomme
podcast: set the podcat duration to unset when it cannot be parsed Rather than assuming it's a livestream which is unlikely for a podcast. The real duration of the item will be filled by the preparser or on playback. It's also the value used in input_item_New() when initializing the input item being read. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ac21adfacc3e218bae6031eaf0f1e31e8905f959 --- modules/demux/playlist/podcast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/playlist/podcast.c b/modules/demux/playlist/podcast.c index 200a1d0b8c..c8afe44bf6 100644 --- a/modules/demux/playlist/podcast.c +++ b/modules/demux/playlist/podcast.c @@ -385,6 +385,6 @@ static vlc_tick_t strTimeToMTime( const char *psz ) case 2: return (vlc_tick_t)( h*60 + m ) * CLOCK_FREQ; default: - return INPUT_DURATION_UNKNOWN; + return INPUT_DURATION_UNSET; } } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
