Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
transcoding: use input time base for output
  • Loading branch information
stbenz authored and perexg committed Feb 17, 2015
1 parent 2f83092 commit 051412d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plumbing/transcoding.c
Expand Up @@ -1027,8 +1027,8 @@ transcoder_stream_video(transcoder_t *t, transcoder_stream_t *ts, th_pkt_t *pkt)
octx->width = vs->vid_width ? vs->vid_width : ictx->width;
octx->height = vs->vid_height ? vs->vid_height : ictx->height;
octx->gop_size = 25;
octx->time_base.den = 25;
octx->time_base.num = 1;
octx->time_base.den = ictx->time_base.den;
octx->time_base.num = ictx->time_base.num;
octx->has_b_frames = ictx->has_b_frames;

switch (ts->ts_type) {
Expand Down

0 comments on commit 051412d

Please sign in to comment.