mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-29 02:33:04 +00:00
Revert "avformat/movenchint: Fix movhinting with ff_rtp_chain_mux_open() from abb810db036628e11a5171134ebe320b187ee6d6"
This has become unneeded due tof797b134ca
This reverts commit1fe40e1b05
.
This commit is contained in:
parent
8c895ae73f
commit
9c22e909ed
@ -33,7 +33,6 @@ int ff_mov_init_hinting(AVFormatContext *s, int index, int src_index)
|
|||||||
MOVTrack *src_track = &mov->tracks[src_index];
|
MOVTrack *src_track = &mov->tracks[src_index];
|
||||||
AVStream *src_st = s->streams[src_index];
|
AVStream *src_st = s->streams[src_index];
|
||||||
int ret = AVERROR(ENOMEM);
|
int ret = AVERROR(ENOMEM);
|
||||||
AVRational src_timebase = src_st->time_base;
|
|
||||||
|
|
||||||
track->tag = MKTAG('r','t','p',' ');
|
track->tag = MKTAG('r','t','p',' ');
|
||||||
track->src_track = src_index;
|
track->src_track = src_index;
|
||||||
@ -49,8 +48,6 @@ int ff_mov_init_hinting(AVFormatContext *s, int index, int src_index)
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
src_st->time_base = src_timebase; // prevent ff_rtp_chain_mux_open() from corrupting the timebase
|
|
||||||
|
|
||||||
/* Copy the RTP AVStream timebase back to the hint AVStream */
|
/* Copy the RTP AVStream timebase back to the hint AVStream */
|
||||||
track->timescale = track->rtp_ctx->streams[0]->time_base.den;
|
track->timescale = track->rtp_ctx->streams[0]->time_base.den;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user