]> git.sesse.net Git - nageru/log
nageru
7 years agoRelease Nageru 1.3.4. 1.3.4
Steinar H. Gunderson [Tue, 2 Aug 2016 20:47:00 +0000 (22:47 +0200)]
Release Nageru 1.3.4.

7 years agoRun IWYU on quicksync_encoder.{cpp,h}.
Steinar H. Gunderson [Tue, 2 Aug 2016 20:46:01 +0000 (22:46 +0200)]
Run IWYU on quicksync_encoder.{cpp,h}.

7 years agoFix an issue with changing video bitrate when x264 speed control was in effect.
Steinar H. Gunderson [Mon, 1 Aug 2016 17:53:23 +0000 (19:53 +0200)]
Fix an issue with changing video bitrate when x264 speed control was in effect.

7 years agoMake the compressor constants single-precision; saves a lot of conversion back and...
Steinar H. Gunderson [Mon, 1 Aug 2016 17:35:59 +0000 (19:35 +0200)]
Make the compressor constants single-precision; saves a lot of conversion back and forth.

7 years agoFix an endianness issue.
Steinar H. Gunderson [Mon, 1 Aug 2016 15:51:24 +0000 (17:51 +0200)]
Fix an endianness issue.

7 years agoUnbreak build.
Steinar H. Gunderson [Sun, 31 Jul 2016 15:16:10 +0000 (17:16 +0200)]
Unbreak build.

7 years agoMake ResamplingQueue work as expected for output frequencies different from 48 kHz.
Steinar H. Gunderson [Sun, 31 Jul 2016 14:56:19 +0000 (16:56 +0200)]
Make ResamplingQueue work as expected for output frequencies different from 48 kHz.

7 years agoRemove the -C flag from the getopt string.
Steinar H. Gunderson [Sun, 31 Jul 2016 13:56:42 +0000 (15:56 +0200)]
Remove the -C flag from the getopt string.

7 years agoAdd a missing entry to .gitignore.
Steinar H. Gunderson [Sat, 30 Jul 2016 23:38:12 +0000 (01:38 +0200)]
Add a missing entry to .gitignore.

7 years agoUpdate README with the current bmusb situation.
Steinar H. Gunderson [Sat, 30 Jul 2016 16:49:59 +0000 (18:49 +0200)]
Update README with the current bmusb situation.

7 years agoCorrect an include guard.
Steinar H. Gunderson [Sat, 30 Jul 2016 10:24:19 +0000 (12:24 +0200)]
Correct an include guard.

7 years agoMove peak finding to after makeup gain (it should really have been all along).
Steinar H. Gunderson [Fri, 29 Jul 2016 14:07:38 +0000 (16:07 +0200)]
Move peak finding to after makeup gain (it should really have been all along).

7 years agoFix a 3 dB offset in audio conversion.
Steinar H. Gunderson [Fri, 29 Jul 2016 12:40:14 +0000 (14:40 +0200)]
Fix a 3 dB offset in audio conversion.

7 years agoSupport the new audio output from FakeCapture, with a (non-default) flag.
Steinar H. Gunderson [Fri, 29 Jul 2016 10:37:10 +0000 (12:37 +0200)]
Support the new audio output from FakeCapture, with a (non-default) flag.

7 years agoUnbreak the short option for --va-display.
Steinar H. Gunderson [Fri, 29 Jul 2016 10:33:53 +0000 (12:33 +0200)]
Unbreak the short option for --va-display.

7 years agoFix compilation for systems without SSE.
Steinar H. Gunderson [Thu, 28 Jul 2016 14:32:59 +0000 (16:32 +0200)]
Fix compilation for systems without SSE.

7 years agoRelease Nageru 1.3.3. 1.3.3
Steinar H. Gunderson [Wed, 27 Jul 2016 18:52:37 +0000 (20:52 +0200)]
Release Nageru 1.3.3.

7 years agoRemove unused field.
Steinar H. Gunderson [Wed, 27 Jul 2016 20:14:03 +0000 (22:14 +0200)]
Remove unused field.

7 years agoUpdate embedded bmusb to v0.5.
Steinar H. Gunderson [Wed, 27 Jul 2016 19:48:01 +0000 (21:48 +0200)]
Update embedded bmusb to v0.5.

7 years agoRework handling of fake cards.
Steinar H. Gunderson [Wed, 27 Jul 2016 19:21:24 +0000 (21:21 +0200)]
Rework handling of fake cards.

Remove the --num-fake-cards (-C) parameter; instead, allocate PCI and
USB cards first, and then just fill up with the remaining fake cards.
This makes it possible to just run ./nageru and have things work well
by default, no matter how many or few actual cards you have.

7 years agoRemove -Wno-deprecated-declarations; we have no deprecations anymore, so even with...
Steinar H. Gunderson [Wed, 27 Jul 2016 18:35:33 +0000 (20:35 +0200)]
Remove -Wno-deprecated-declarations; we have no deprecations anymore, so even with -Werror, it should be fine.

7 years agoHandle error messages from nice(); fixes a warning.
Steinar H. Gunderson [Wed, 27 Jul 2016 18:34:55 +0000 (20:34 +0200)]
Handle error messages from nice(); fixes a warning.

7 years agoMove all the FFmpeg RAII helpers into its own file.
Steinar H. Gunderson [Wed, 27 Jul 2016 18:27:10 +0000 (20:27 +0200)]
Move all the FFmpeg RAII helpers into its own file.

7 years agoRemove the last use of the AVStream::codec parameter.
Steinar H. Gunderson [Wed, 27 Jul 2016 18:03:24 +0000 (20:03 +0200)]
Remove the last use of the AVStream::codec parameter.

Fixes the last FFmpeg deprecation warnings.

7 years agoChange to new libavcodec audio encoding API. Fixes some deprecation warnings.
Steinar H. Gunderson [Wed, 27 Jul 2016 15:43:57 +0000 (17:43 +0200)]
Change to new libavcodec audio encoding API. Fixes some deprecation warnings.

7 years agoChange to new libavcodec video decoding API. Fixes some deprecation warnings.
Steinar H. Gunderson [Wed, 27 Jul 2016 15:29:55 +0000 (17:29 +0200)]
Change to new libavcodec video decoding API. Fixes some deprecation warnings.

7 years agoDo not link to -lGL -lEGL; epoxy is enough.
Steinar H. Gunderson [Wed, 27 Jul 2016 12:38:57 +0000 (14:38 +0200)]
Do not link to -lGL -lEGL; epoxy is enough.

7 years agoRemove some use of the AVStream::codec parameter (not all). Fixes some deprecation...
Steinar H. Gunderson [Wed, 27 Jul 2016 11:58:19 +0000 (13:58 +0200)]
Remove some use of the AVStream::codec parameter (not all). Fixes some deprecation warnings.

7 years agoMakefile tweaks to be nicer to external build systems.
Steinar H. Gunderson [Wed, 27 Jul 2016 09:08:02 +0000 (11:08 +0200)]
Makefile tweaks to be nicer to external build systems.

7 years agoSearch for images in all directories in --theme-dirs, and install bg.jpeg on make...
Steinar H. Gunderson [Wed, 27 Jul 2016 08:57:57 +0000 (10:57 +0200)]
Search for images in all directories in --theme-dirs, and install bg.jpeg on make install.

7 years agoMove to new bmusb, which moves header files into bmusb/bmusb/.
Steinar H. Gunderson [Wed, 27 Jul 2016 08:45:09 +0000 (10:45 +0200)]
Move to new bmusb, which moves header files into bmusb/bmusb/.

7 years agoInstall the theme on make install.
Steinar H. Gunderson [Tue, 26 Jul 2016 23:23:53 +0000 (01:23 +0200)]
Install the theme on make install.

7 years agoSupport searching for the theme in multiple directories.
Steinar H. Gunderson [Tue, 26 Jul 2016 23:21:24 +0000 (01:21 +0200)]
Support searching for the theme in multiple directories.

7 years agoUpdate bmusb to a version that does not need to be embedded.
Steinar H. Gunderson [Tue, 26 Jul 2016 12:27:14 +0000 (14:27 +0200)]
Update bmusb to a version that does not need to be embedded.

7 years agoRemove -march=native; it is no longer really needed, now that we have function multiv...
Steinar H. Gunderson [Mon, 25 Jul 2016 12:18:53 +0000 (14:18 +0200)]
Remove -march=native; it is no longer really needed, now that we have function multiversioning in bmusb. (Movit still benefits, though.)

7 years agoMove FakeCapture into bmusb, and make it a little more generic.
Steinar H. Gunderson [Mon, 25 Jul 2016 12:17:45 +0000 (14:17 +0200)]
Move FakeCapture into bmusb, and make it a little more generic.

7 years agoUpgrade to newer bmusb, with namespacing.
Steinar H. Gunderson [Mon, 25 Jul 2016 11:58:01 +0000 (13:58 +0200)]
Upgrade to newer bmusb, with namespacing.

7 years agoAdd missing QtOpenGL package from apt line.
Steinar H. Gunderson [Sun, 24 Jul 2016 23:04:55 +0000 (01:04 +0200)]
Add missing QtOpenGL package from apt line.

7 years agoUpdate README for changed file names.
Steinar H. Gunderson [Sun, 24 Jul 2016 23:00:25 +0000 (01:00 +0200)]
Update README for changed file names.

7 years agoAdd a make install target.
Steinar H. Gunderson [Sun, 24 Jul 2016 22:35:30 +0000 (00:35 +0200)]
Add a make install target.

7 years agoFix make clean; it forgot some newly added files.
Steinar H. Gunderson [Sun, 24 Jul 2016 22:29:24 +0000 (00:29 +0200)]
Fix make clean; it forgot some newly added files.

7 years agoRemove -Werror again; it keeps creeping in.
Steinar H. Gunderson [Sun, 24 Jul 2016 22:26:32 +0000 (00:26 +0200)]
Remove -Werror again; it keeps creeping in.

7 years agoUse an enum for long options instead of manually maintained integers.
Steinar H. Gunderson [Sat, 23 Jul 2016 10:12:20 +0000 (12:12 +0200)]
Use an enum for long options instead of manually maintained integers.

7 years agoRelease Nageru 1.3.2. 1.3.2
Steinar H. Gunderson [Fri, 22 Jul 2016 23:08:05 +0000 (01:08 +0200)]
Release Nageru 1.3.2.

7 years agoAdd some more command-line flags for initial audio settings. (Still not complete.)
Steinar H. Gunderson [Fri, 22 Jul 2016 19:43:40 +0000 (21:43 +0200)]
Add some more command-line flags for initial audio settings. (Still not complete.)

7 years agoClean up the logging of memory usage, including if we do not use mlockall().
Steinar H. Gunderson [Fri, 22 Jul 2016 18:04:59 +0000 (20:04 +0200)]
Clean up the logging of memory usage, including if we do not use mlockall().

7 years agoAdd a menu option to change x264 video bitrate while running.
Steinar H. Gunderson [Fri, 22 Jul 2016 17:54:37 +0000 (19:54 +0200)]
Add a menu option to change x264 video bitrate while running.

7 years agoFix a typo.
Steinar H. Gunderson [Fri, 22 Jul 2016 15:55:48 +0000 (17:55 +0200)]
Fix a typo.

7 years agoAllow hotplugging of USB cards, instead of just exiting when something goes away.
Steinar H. Gunderson [Fri, 22 Jul 2016 15:34:04 +0000 (17:34 +0200)]
Allow hotplugging of USB cards, instead of just exiting when something goes away.

Note that there are still limitations; e.g., you cannot start with 0 USB cards
and add them later, and you cannot have more cards than your initial --num-cards
parameter. This is primarily useful for if a cable falls out during broadcast.

7 years agolibusb 1.0.21-rc1 has been released.
Steinar H. Gunderson [Fri, 22 Jul 2016 09:08:27 +0000 (11:08 +0200)]
libusb 1.0.21-rc1 has been released.

7 years agoRemove unused struct member.
Steinar H. Gunderson [Thu, 21 Jul 2016 23:25:04 +0000 (01:25 +0200)]
Remove unused struct member.

7 years agoSSE2-optimize the memset2 and memset4 routines in FakeCapture.
Steinar H. Gunderson [Thu, 21 Jul 2016 22:38:25 +0000 (00:38 +0200)]
SSE2-optimize the memset2 and memset4 routines in FakeCapture.

7 years agoLet the theme distinguish between fake and real inputs (ie., if there is an actual...
Steinar H. Gunderson [Thu, 21 Jul 2016 21:42:07 +0000 (23:42 +0200)]
Let the theme distinguish between fake and real inputs (ie., if there is an actual card connected or not).

7 years agoMake the framerate of the fake cards much more precise.
Steinar H. Gunderson [Thu, 21 Jul 2016 13:07:56 +0000 (15:07 +0200)]
Make the framerate of the fake cards much more precise.

7 years agoFix mouse wheel behavior on the two gain knobs, through an icky Qt hack.
Steinar H. Gunderson [Tue, 19 Jul 2016 14:45:37 +0000 (16:45 +0200)]
Fix mouse wheel behavior on the two gain knobs, through an icky Qt hack.

7 years agoffmpeg 3.1 is in testing.
Steinar H. Gunderson [Tue, 19 Jul 2016 11:34:39 +0000 (13:34 +0200)]
ffmpeg 3.1 is in testing.

7 years agoAdd Metacube timestamping to every keyframe, for easier detection of streams not...
Steinar H. Gunderson [Sat, 16 Jul 2016 15:16:06 +0000 (17:16 +0200)]
Add Metacube timestamping to every keyframe, for easier detection of streams not keeping up.

Works with the new timestamp feature of Cubemap 1.3.1. Will be
ignored (save for some logging) in older Cubemap versions.

7 years agoAdd a printout of mlockall() memory used, from bitter experience :-)
Steinar H. Gunderson [Sat, 16 Jul 2016 09:47:00 +0000 (11:47 +0200)]
Add a printout of mlockall() memory used, from bitter experience :-)

7 years agoSpelling fix.
Steinar H. Gunderson [Wed, 13 Jul 2016 17:15:08 +0000 (19:15 +0200)]
Spelling fix.

7 years agoDocument what we mean by recent kernel, now that the exception is removed.
Steinar H. Gunderson [Wed, 13 Jul 2016 17:13:22 +0000 (19:13 +0200)]
Document what we mean by recent kernel, now that the exception is removed.

7 years agoThe avformat marker API entered ffmpeg in 3.1.
Steinar H. Gunderson [Wed, 13 Jul 2016 17:09:58 +0000 (19:09 +0200)]
The avformat marker API entered ffmpeg in 3.1.

7 years ago4.6.0 is now the default stretch kernel.
Steinar H. Gunderson [Wed, 13 Jul 2016 17:06:29 +0000 (19:06 +0200)]
4.6.0 is now the default stretch kernel.

7 years agoFixed x264 has hit stretch.
Steinar H. Gunderson [Wed, 13 Jul 2016 17:05:30 +0000 (19:05 +0200)]
Fixed x264 has hit stretch.

7 years agoRework how transitions are handled in the theme.
Steinar H. Gunderson [Tue, 12 Jul 2016 11:46:58 +0000 (13:46 +0200)]
Rework how transitions are handled in the theme.

Before, zoom and fade were too distinct; zoom was done with
live_signal always being SBS and a “zoom_poi” variable to
tell where we were zooming, while fade had its own fake signal
type. Make en explicit notion of transitions with to/from signals
instead (when transitions are in play, live_signal is just ignored,
at least for most purposes).

Again, comes from the Solskogen theme.

7 years agoMake make_sbs_chain() take type instead of a yes/no deinterlaced flag, for more flexi...
Steinar H. Gunderson [Tue, 12 Jul 2016 11:22:06 +0000 (13:22 +0200)]
Make make_sbs_chain() take type instead of a yes/no deinterlaced flag, for more flexibility for other kinds of inputs.

7 years agoFix crash on exit when there are no USB cards.
Steinar H. Gunderson [Tue, 12 Jul 2016 06:17:57 +0000 (08:17 +0200)]
Fix crash on exit when there are no USB cards.

7 years agoSome refactoring in prepare_sbs_chain(). (Another Solskogen theme backport.)
Steinar H. Gunderson [Mon, 11 Jul 2016 23:11:37 +0000 (01:11 +0200)]
Some refactoring in prepare_sbs_chain(). (Another Solskogen theme backport.)

7 years agoReduce the code duplication in the plain inputs (backport from Solskogen theme).
Steinar H. Gunderson [Mon, 11 Jul 2016 23:00:06 +0000 (01:00 +0200)]
Reduce the code duplication in the plain inputs (backport from Solskogen theme).

7 years agoFactor out a repeated if test in the theme to an is_plain_signal() function (backport...
Steinar H. Gunderson [Mon, 11 Jul 2016 22:54:41 +0000 (00:54 +0200)]
Factor out a repeated if test in the theme to an is_plain_signal() function (backport from the Solskogen theme).

7 years agoFix some broken culling code in the theme (no idea why this does not trigger more...
Steinar H. Gunderson [Mon, 11 Jul 2016 22:47:19 +0000 (00:47 +0200)]
Fix some broken culling code in the theme (no idea why this does not trigger more often, really; it only happened in the Solskogen theme).

7 years agoAdd an option to add fake capture cards, for easier standalone theme testing.
Steinar H. Gunderson [Mon, 11 Jul 2016 18:24:42 +0000 (20:24 +0200)]
Add an option to add fake capture cards, for easier standalone theme testing.

7 years agoAdd some asserts that will trigger if a driver gives very bogus fps values.
Steinar H. Gunderson [Mon, 11 Jul 2016 18:23:56 +0000 (20:23 +0200)]
Add some asserts that will trigger if a driver gives very bogus fps values.

7 years agoAdd missing short options.
Steinar H. Gunderson [Mon, 11 Jul 2016 18:23:34 +0000 (20:23 +0200)]
Add missing short options.

7 years agoRelease Nageru 1.3.1. 1.3.1
Steinar H. Gunderson [Fri, 1 Jul 2016 21:48:22 +0000 (23:48 +0200)]
Release Nageru 1.3.1.

7 years agoFix --flat-audio; add the gain staging auto knob, and make sure the UI reflects the...
Steinar H. Gunderson [Fri, 1 Jul 2016 21:18:20 +0000 (23:18 +0200)]
Fix --flat-audio; add the gain staging auto knob, and make sure the UI reflects the state.

7 years agoForce vsync off; fixes jittery display on the NVIDIA proprietary driver.
Steinar H. Gunderson [Fri, 1 Jul 2016 21:03:39 +0000 (23:03 +0200)]
Force vsync off; fixes jittery display on the NVIDIA proprietary driver.

7 years agoFix the display of the transition names again.
Steinar H. Gunderson [Thu, 30 Jun 2016 22:28:27 +0000 (00:28 +0200)]
Fix the display of the transition names again.

7 years agoRelease Nageru 1.3.0. 1.3.0
Steinar H. Gunderson [Sun, 26 Jun 2016 21:22:07 +0000 (23:22 +0200)]
Release Nageru 1.3.0.

7 years agoFix a crash when not encoding to x264.
Steinar H. Gunderson [Sat, 25 Jun 2016 21:22:03 +0000 (23:22 +0200)]
Fix a crash when not encoding to x264.

7 years agoUse the new libavformat functionality for marking keyframes.
Steinar H. Gunderson [Sat, 25 Jun 2016 21:08:11 +0000 (23:08 +0200)]
Use the new libavformat functionality for marking keyframes.

Note: This depends on code only recently in mainline avformat;
the commit in question is dbbaad3 in libav, 4e7a921 in ffmpeg,
merged Jun 23.

This removes our need for manually flushing before each keyframe
to to make sure we get the fragment boundaries correct. In turn,
this means we no longer need to interleave ourselves.

The lack of flushing (and that we start using libavformat's interleaving
queue again) also means that the muxer no longer has to guess at the
duration of the last frame in each fragment, which would sometimes
cause non-monotonic pts, which would confuse players in various ways.

7 years agoAdd support for arbitrary x264 parameters.
Steinar H. Gunderson [Tue, 14 Jun 2016 23:05:39 +0000 (00:05 +0100)]
Add support for arbitrary x264 parameters.

7 years agoDocument that you need a specific x264 patch.
Steinar H. Gunderson [Tue, 14 Jun 2016 09:24:34 +0000 (10:24 +0100)]
Document that you need a specific x264 patch.

7 years agoDocument the mlockall() change in NEWS.
Steinar H. Gunderson [Thu, 9 Jun 2016 18:34:20 +0000 (20:34 +0200)]
Document the mlockall() change in NEWS.

7 years agoTake out the persistent device memory patches, as the libusb patch is now in git...
Steinar H. Gunderson [Tue, 7 Jun 2016 22:56:48 +0000 (00:56 +0200)]
Take out the persistent device memory patches, as the libusb patch is now in git, and bmusb uses it if available.

7 years agoFix a possible int32 overload with huge framerate denominators.
Steinar H. Gunderson [Mon, 6 Jun 2016 17:05:26 +0000 (19:05 +0200)]
Fix a possible int32 overload with huge framerate denominators.

Found by Coverity Scan.

7 years agoInitialize stats buffers in speed control correctly
Steinar H. Gunderson [Mon, 6 Jun 2016 17:05:09 +0000 (19:05 +0200)]
Initialize stats buffers in speed control correctly

Found by Coverity Scan.

7 years agoFix an off-by-one copy in memcpy_interleaved_fastpath().
Steinar H. Gunderson [Mon, 6 Jun 2016 17:04:25 +0000 (19:04 +0200)]
Fix an off-by-one copy in memcpy_interleaved_fastpath().

Found by Coverity Scan.

7 years agoMesa 11.2.2 is now in stretch.
Steinar H. Gunderson [Mon, 30 May 2016 23:10:23 +0000 (01:10 +0200)]
Mesa 11.2.2 is now in stretch.

7 years agoLock everything in system memory for better realtime behavior.
Steinar H. Gunderson [Mon, 16 May 2016 11:26:11 +0000 (13:26 +0200)]
Lock everything in system memory for better realtime behavior.

7 years agoThe EQ is low-cut (highpass), not lowpass.
Steinar H. Gunderson [Mon, 16 May 2016 00:13:33 +0000 (02:13 +0200)]
The EQ is low-cut (highpass), not lowpass.

7 years agoUpdate patch situation in README.
Steinar H. Gunderson [Mon, 16 May 2016 00:01:55 +0000 (02:01 +0200)]
Update patch situation in README.

In particular, 4.6.0 was just released, so we ask people to use that
instead of patching their kernel. Also, Mesa 11.2.x is now in unstable,
and should progress to testing soon.

7 years agoFix an embarrassing messup with the new ResamplingQueue formats.
Steinar H. Gunderson [Sun, 8 May 2016 17:24:19 +0000 (19:24 +0200)]
Fix an embarrassing messup with the new ResamplingQueue formats.

7 years agoFix a situation where first_output would never get set.
Steinar H. Gunderson [Sun, 8 May 2016 09:42:12 +0000 (11:42 +0200)]
Fix a situation where first_output would never get set.

7 years agoMake the audio resampler panic message slightly more readable.
Steinar H. Gunderson [Sat, 7 May 2016 23:59:07 +0000 (01:59 +0200)]
Make the audio resampler panic message slightly more readable.

7 years agoRemove the Mesa patch; replace with a recommendation to run 11.2.x.
Steinar H. Gunderson [Thu, 5 May 2016 10:51:59 +0000 (12:51 +0200)]
Remove the Mesa patch; replace with a recommendation to run 11.2.x.

This is now upstream, so it's probably just as easy for people to get 11.2.x as
to patch and build a Mesa 11.0.x version.

7 years agoFix a memory leak in interleaving.
Steinar H. Gunderson [Thu, 5 May 2016 09:29:14 +0000 (11:29 +0200)]
Fix a memory leak in interleaving.

7 years agoTurn on filler bits to cap the x264 bitrate from below, to increase smoothness in...
Steinar H. Gunderson [Thu, 5 May 2016 00:10:11 +0000 (02:10 +0200)]
Turn on filler bits to cap the x264 bitrate from below, to increase smoothness in some situations with low-complexity content.

7 years agoFlush after writing each frame, so that we do not get stuck with something in a long...
Steinar H. Gunderson [Thu, 5 May 2016 00:03:09 +0000 (02:03 +0200)]
Flush after writing each frame, so that we do not get stuck with something in a long muxer buffer.

7 years agoAdd back manual interleaving, but this time in Mux.
Steinar H. Gunderson [Wed, 4 May 2016 18:19:37 +0000 (20:19 +0200)]
Add back manual interleaving, but this time in Mux.

We need to interleave ourselves because we flush; otherwise, audio will
typically start 100 ms or so into the stream, and everything becomes bad.
Thankfully, we have only two streams to interleave, so we can choose
something quite simple, and this is still not bothered by the deadlocks
that arose from doing it in QuickSyncEncoder. (Hopefully we can soon find
keyframe boundaries without flushing, but it requires changes in avformat.)

Also fixes an issue where plugged packets would cause the boundaries
to fall in the wrong places.

7 years agoFix packet sorting in Mux.
Steinar H. Gunderson [Wed, 4 May 2016 18:18:27 +0000 (20:18 +0200)]
Fix packet sorting in Mux.

Packets cannot be compared based on dts/pts alone; they also need
to take the timebase into account. (Right now, this is harmless,
but we need more precise packet sorting in the next commit.)