fix case when no playlist is found
This commit is contained in:
parent
f28e276d27
commit
a4c15d9aff
@ -1363,6 +1363,7 @@ class GetSourceFromPlaylist:
|
|||||||
self.list_date = get_date(True)
|
self.list_date = get_date(True)
|
||||||
|
|
||||||
self.src = None
|
self.src = None
|
||||||
|
self.begin = 0
|
||||||
self.seek = 0
|
self.seek = 0
|
||||||
self.out = 20
|
self.out = 20
|
||||||
self.duration = 20
|
self.duration = 20
|
||||||
@ -1521,7 +1522,7 @@ class GetSourceFromPlaylist:
|
|||||||
self.get_playlist()
|
self.get_playlist()
|
||||||
|
|
||||||
if self.clip_nodes is None:
|
if self.clip_nodes is None:
|
||||||
self.set_filtergraph()
|
self.eof_handling('Playlist is empty!', True)
|
||||||
yield self.src_cmd + self.filtergraph
|
yield self.src_cmd + self.filtergraph
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user