Skip to content

Commit

Permalink
Display stream duration in diagnostic output.
Browse files Browse the repository at this point in the history
  • Loading branch information
OtherCrashOverride committed Oct 8, 2016
1 parent 0a1bc8e commit cfbfa9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Media/MediaSourceElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ void MediaSourceElement::SetupPins()


duration = ctx->duration / (double)AV_TIME_BASE;
printf("Duration: %f\n", duration);


int streamCount = ctx->nb_streams;
Expand Down

0 comments on commit cfbfa9a

Please sign in to comment.