On Mon, May 28, 2018 at 08:18:52PM +0200, Stephan Holljes wrote: > Signed-off-by: Stephan Holljes <[email protected]> > --- > ffserver.c | 14 +++++++++++--- > 1 file changed, 11 insertions(+), 3 deletions(-) > > diff --git a/ffserver.c b/ffserver.c > index 39e1c32..fc2a1a4 100644 > --- a/ffserver.c > +++ b/ffserver.c > @@ -133,7 +133,7 @@ void *read_thread(void *arg) > pkt.pos = -1; > > // current pts > - pts = pkt.pts; //av_rescale_q(pkt.pts, in_stream->time_base, tb); > + pts = pkt.pts; > > // current stream "uptime" > now = av_gettime_relative() - start; > @@ -200,6 +200,9 @@ void write_segment(struct Client *c) > struct Segment *seg; > int ret; > int pkt_count = 0;
> + AVRational tb;
> + tb.num = 1;
> + tb.den = AV_TIME_BASE;
AVRational tb = {1, AV_TIME_BASE}
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
