dont try to detect anything if files is empty

This commit is contained in:
j 2009-01-21 17:24:45 +11:00
parent 9f489d306b
commit ca83c75a9e

View file

@ -35,7 +35,7 @@ class Info:
self.dbin = self.pipeline.get_by_name('dbin')
self.metadata['size'] = os.stat(videofile).st_size
if self.metadata['size'] != 0:
self.bus = self.pipeline.get_bus()
self.dbin.connect('new-decoded-pad', self.demux_pad_added)