Commit graph

5452 commits

Author SHA1 Message Date
Edward Hervey
f86751d9f7 asfdemux: Fix prerolling files with "empty" streams
This is a regression that was introduced by
commit 1803b3c185
"    asfdemux: Add support for dvr-ms"

The problem is that some files/streams might contain stream definition
but there is no actual packets for those streams.

This was used to "define" streams with different bitrates for example.

The first_ts calculation resulted in never ever finding a valid first_ts
since some streams were empty, and therefore never "activating" itself.

Instead of that we first check if we are prerolled. And if we are we
unconditionally get the "first_ts"

The preroll check has been adapted to check whether streams of
each defined type (i.e. audio/video/sub) has been prerolled. This solves
the problem of having different streams of a particular type where only
one stream actually has data.
2017-11-13 11:13:30 +01:00
Edward Hervey
2d9867b120 asfdemux: Store the stream type in streams
The field was present but never set :)
2017-11-13 11:09:31 +01:00
Ponnam Srinivas
83d7d2f67a a52dec: Fix out buffer memory leak in error code path
https://bugzilla.gnome.org/show_bug.cgi?id=788119
2017-09-26 11:13:33 +03:00
Deepak Srivastava
9213d690a8 mpeg2dec: Fix buffer memory leak in error code path
https://bugzilla.gnome.org/show_bug.cgi?id=787817
2017-09-18 09:26:21 +01:00
Satya Prakash Gupta
c7594c4acb mpeg2dec: Unmap output video frame if copying to it fails
https://bugzilla.gnome.org/show_bug.cgi?id=787398
2017-09-07 12:56:11 +03:00
Satya Prakash Gupta
38b198255f realmedia: fix leak in asmrules error code path
https://bugzilla.gnome.org/show_bug.cgi?id=787056
2017-08-31 19:27:02 +01:00
Satya Prakash Gupta
c3cf7ab5c4 realmedia: Fix Memory leak in error case
https://bugzilla.gnome.org/show_bug.cgi?id=787014
2017-08-30 17:20:41 +02:00
Tim-Philipp Müller
44f95a2579 tests: remove files that were used by the mpg123 unit test 2017-08-26 13:02:26 +01:00
Tim-Philipp Müller
aa14b72a99 Remove twolame plugin, moved to -good
https://bugzilla.gnome.org/show_bug.cgi?id=774252
2017-08-26 09:35:20 +01:00
Tim-Philipp Müller
b40e1a76b8 Remove lame plugin, moved to -good
https://bugzilla.gnome.org/show_bug.cgi?id=774252
2017-08-26 08:51:01 +01:00
Tim-Philipp Müller
83ff57c849 Remove mpg123 plugin, moved to -good
https://bugzilla.gnome.org/show_bug.cgi?id=774252
2017-08-20 15:53:50 +01:00
Tim-Philipp Müller
53160e8fa1 Automatic update of common submodule
From 48a5d85 to 3f4aa96
2017-08-17 12:23:43 +01:00
Tim-Philipp Müller
87c58bd3c1 sidplay: hide symbols in meson for this c++ plugin too
Keep things local, as this is the only c++ plugin
in ugly currently.
2017-08-10 15:48:27 +01:00
Tim-Philipp Müller
7d789cc589 meson: don't export symbols by default
Only plugin entry points should be exported.

Currently plugins might export more symbols with
the meson build, as we don't have the exports
regexp there that we pass to libtool.
2017-08-10 12:01:52 +01:00
Mark Nauwelaerts
fc826ac6dc x264enc: add FIXME note for future configuration cleanup 2017-08-09 19:31:56 +02:00
Satya Prakash Gupta
861cff5da1 dvdreadsrc: Fix string memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=785388
2017-07-25 11:23:38 +03:00
Tim-Philipp Müller
0d73cb55b1 x264enc: fix indentation 2017-07-15 15:01:09 +01:00
Tim-Philipp Müller
58a23c99e9 x264enc: fix caps leak
Move creation of supported sink pads into class_init function
which is also the only place where they're used. Unref the
caps when no longer needed, the pad template will take its
own ref.

https://bugzilla.gnome.org/show_bug.cgi?id=784982
2017-07-15 14:59:42 +01:00
Tim-Philipp Müller
841a073154 mpg123audiodec: fix caps leak
The pad template takes its own ref, so we should unref the caps.

https://bugzilla.gnome.org/show_bug.cgi?id=784982
2017-07-15 14:57:49 +01:00
Tim-Philipp Müller
9c080387bb meson: po: use glib preset and read language list from LINGUAS
Supported since meson 0.37, so we can use it now.
2017-07-15 12:49:41 +01:00
Vivia Nikolaidou
3b99cf6c54 dvdlpmdec: Fix overrun from coverity
CID #1414801
2017-07-11 14:23:27 +03:00
Tim-Philipp Müller
121e8e6210 meson: find python3 via python3 module
https://bugzilla.gnome.org/show_bug.cgi?id=783198
2017-07-07 11:58:36 +01:00
Vivia Nikolaidou
cd59f39c2c dvdlpcmdec: Added support for Blu-Ray audio
https://bugzilla.gnome.org/show_bug.cgi?id=784552
2017-07-05 19:17:59 +03:00
Edward Hervey
ec24f4c9f2 asfdemux: More index handling
In the same vein as the previous commit, the end of the file might have been
cut and therefore contains bogus data.

If the object is too short, consider it as garbage and return a non-fatal
flow.

Regression introduced in 97294eb8bb
2017-06-27 11:49:21 +02:00
Edward Hervey
0bbdfa8ee9 asfdemux; Don't assume index is present at end of file
Some files have garbage at the end of the file, don't error out if we don't
find the index there.

Reverts back to previous behaviour (where corrupted/missing indexex were
not a fatal error).

Regression introduced in 97294eb8bb
2017-06-27 10:41:42 +02:00
Tim-Philipp Müller
8012cfae27 meson: fix with-package-name option
https://bugzilla.gnome.org/show_bug.cgi?id=784082
2017-06-26 09:49:22 +01:00
Mark Nauwelaerts
3a25a3a948 asfdemux: adjust segment start to a keyframe ts only for a KEYUNIT seek
... which is how it has always been until changed coincidentally in commit
9ee60482b2 which then prompted commit
dba14178ce to consider ACCURATE as well
to compensate for that in a lateral way
2017-06-24 18:14:59 +02:00
Mark Nauwelaerts
7074d31cb6 x264enc: relax bframes upper limit count to maximum encoder supported 2017-06-24 17:52:09 +02:00
Tim-Philipp Müller
0267575e79 meson: don't error out if sidplay library is not found 2017-06-23 23:44:18 +01:00
Tim-Philipp Müller
27b77f93b5 meson: build sid plugin
https://bugzilla.gnome.org/show_bug.cgi?id=784135
2017-06-23 18:34:14 +01:00
Víctor Manuel Jáquez Leal
c15a00537f x264: fix memory leak
When the allowed caps are the same of template caps the allowed
caps are not unrefed, leaking memory.

https://bugzilla.gnome.org/show_bug.cgi?id=784060
2017-06-21 21:26:53 +02:00
Thibault Saunier
6b03e61bf3 meson: Do not use path separator in test names
Avoiding warnings like:

    WARNING: Target "elements/audioamplify" has a path separator in its name.
2017-06-07 12:26:46 -04:00
Thiago Santos
42f8e22f17 asfdemux: fix checking for header objects
The if 'and' condition was mixed up with the last parameter of the
function and would lead to wrong results
2017-06-06 21:48:19 -07:00
Tim-Philipp Müller
5a0901baa3 meson: don't need config.h.meson any longer 2017-05-21 17:49:59 +01:00
Tim-Philipp Müller
a6e55d331b meson: add options to set package name and origin
https://bugzilla.gnome.org/show_bug.cgi?id=782172
2017-05-20 14:58:37 +01:00
Jan Schmidt
82f0bc240f Add gstvideo_dep for meson mpeg2dec test build 2017-05-19 20:05:02 +02:00
Jan Schmidt
32335ab3e4 mpeg2dec test: Fix expected output caps
In the absence of explicit info, video decoders
now output mono multiview caps by default, so make
the expected caps match that
2017-05-19 18:59:17 +02:00
Nicolas Dufresne
d02e7d8029 Remove plugin specific static build option
Static and dynamic plugins now have the same interface. The standard
--enable-static/--enable-shared toggle are sufficient.
2017-05-16 14:07:56 -04:00
Nicolas Dufresne
e026416a34 sid: Make plugin name match plugin file name 2017-05-09 09:45:27 -04:00
Sebastian Dröge
33b1b8c545 Back to development 2017-05-04 18:59:14 +03:00
Sebastian Dröge
d2374716e2 Release 1.12.0 2017-05-04 15:39:25 +03:00
Sebastian Dröge
53e89f02aa Update .po files 2017-05-04 15:12:50 +03:00
Sebastian Dröge
87c34b2285 po: Update translations 2017-05-04 13:47:56 +03:00
Sebastian Dröge
cbcf4a399a Release 1.11.91 2017-04-27 17:33:23 +03:00
Sebastian Dröge
f1decacc08 Update .po files 2017-04-27 16:08:13 +03:00
Sebastian Dröge
e827f37edc po: Update translations 2017-04-27 15:29:48 +03:00
Nirbheek Chauhan
c6a0026137 x264: Use __declspec(dllimport) with MinGW too
x264.h says this isn't needed with MinGW, but it looks like it is.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=779249
2017-04-27 12:20:42 +03:00
Tim-Philipp Müller
fb30e24499 Automatic update of common submodule
From 60aeef6 to 48a5d85
2017-04-24 20:28:15 +01:00
Tim-Philipp Müller
1d9736ac67 Automatic update of common submodule
From 39ac2f5 to 60aeef6
2017-04-10 23:49:25 +01:00
Sebastian Dröge
204345d876 Release 1.11.90 2017-04-07 16:34:22 +03:00