Skip to content

Commit

Permalink
Don't compare dv filesize to what gstreamer reports.
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlFK committed Jan 13, 2015
1 parent cb1c44c commit 4e1057d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dj/scripts/tsdv.py
Expand Up @@ -129,7 +129,8 @@ def auto(pathname):
seconds = d.get_duration() / float(Gst.SECOND)

print(dv_seconds,seconds)
assert(abs(dv_seconds-seconds)<max(dv_seconds/100.0,.1))
# assert(abs(dv_seconds-seconds)<max(dv_seconds/100.0,.1))
seconds=dv_seconds

# store duration in fancy human readable format (bad idea)
hms = seconds//3600, (seconds%3600)//60, seconds%60
Expand Down

0 comments on commit 4e1057d

Please sign in to comment.