Commit graph

1923 commits

Author SHA1 Message Date
Sebastian Dröge
84425e4515 Release 1.5.1 2015-06-07 11:10:59 +02:00
Sebastian Dröge
b81cb99d9f avviddec: Release stream lock while calling avcodec_decode_video2()
It might call back into us from another thread and try to take the stream lock
again, e.g. to allocate a buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=726020
2015-06-05 11:57:37 +02:00
Olivier Crête
172f9c9823 avviddec: Post error message before returning a flow error
This is required.
2015-06-02 20:48:33 -04:00
Edward Hervey
4da9692f4c check: Use GST_CHECK_MAIN () macro everywhere
Makes source code smaller, and ensures we go through common initialization
path (like the one that sets up XML unit test output ...)
2015-06-02 16:32:55 +02:00
Tim-Philipp Müller
4516bad519 Make top-level 'check-torture' and 'check-valgrind' targets functional 2015-06-02 12:32:42 +01:00
Aurélien Zanelli
00ff477f29 avcodecmap: Use video/x-cavs mime type instead of video/x-gst-av-cavs
More generic mime-type which can be used by other decoders than libav.

https://bugzilla.gnome.org/show_bug.cgi?id=727731
2015-06-02 08:54:46 +01:00
Aurélien Zanelli
3fe87b31f6 configure: don't disable Chinese AVS (cavs) decoder
It enables GStreamer to decode Chinese AVS video streams.
Also fix indentation.

https://bugzilla.gnome.org/show_bug.cgi?id=727731
2015-06-02 08:54:46 +01:00
Sebastian Dröge
c6cc7b385a avauddev: Unref decoded AVFrame after we're done with it
Otherwise we might leak some memory, like all compressed data when using
avdec_ac3.
2015-06-02 09:09:09 +02:00
Sebastian Dröge
ee7a9e000b libav: Update to v11.4 2015-05-31 21:32:07 +02:00
Tim-Philipp Müller
1caf119750 Update .gitignore 2015-04-23 17:19:21 +01:00
Tim-Philipp Müller
df3a1cf198 configure: bump automake requirement to 1.14 and autoconf to 2.69
This is only required for builds from git, people can still
build tarballs if they only have older autotools.

https://bugzilla.gnome.org//show_bug.cgi?id=747624
2015-04-23 17:09:36 +01:00
Tim-Philipp Müller
490a896b23 Automatic update of common submodule
From bc76a8b to c8fb372
2015-04-03 18:58:12 +01:00
Mark Nauwelaerts
2270026d82 avdemux: resurrect some flow return handling
https://bugzilla.gnome.org/show_bug.cgi?id=744572
2015-03-29 14:01:50 +02:00
Sebastian Dröge
8386e4411b libav: Update to v11.3 2015-03-14 11:26:16 +00:00
Tim-Philipp Müller
55f98c5b9a avdemux: fix double semicolon 2015-03-10 09:37:19 +00:00
Sebastian Dröge
4f7d873c4c libav: Add support for 10 bit planar AYUV formats 2015-03-10 10:18:53 +01:00
Sebastian Dröge
d3a2a9a951 libav: Change from deprecated PIX_FMT_* to AV_PIX_FMT_* 2015-03-10 10:17:45 +01:00
Sebastian Dröge
4459d706c8 avviddec: Don't copy padding if handling a frame failed
We will return an error right afterwards anyway.
2015-03-09 22:02:38 +01:00
Sebastian Dröge
099ea5f2d1 avviddec: If a flow return during draining is not OK, don't drain any further 2015-03-09 22:02:19 +01:00
Sebastian Dröge
af91ba1620 avviddec: Error out if we try to allocate a buffer without being negotiated
Otherwise we just run into assertions because we should've errored out
already.
2015-03-09 22:01:43 +01:00
Luis de Bethencourt
18667c5698 avdemux: remove duplicate goto block 2015-03-05 14:27:52 +00:00
Luis de Bethencourt
e3b8a4fe23 avdemux: check AVIO Context has been allocated 2015-03-05 14:23:44 +00:00
Jan Schmidt
904b53ab0d Add drain() vfunc implementation that does the same as finish()
finish() is called at EOS, drain() is called at all other times
when the decoder should be drained out. gst-libav decoder behaviour
is the same in both cases, so use the same implementation

See https://bugzilla.gnome.org/show_bug.cgi?id=734617
2015-02-24 01:50:11 +11:00
Jan Schmidt
5758e82eaf avviddec: Implement SKIP and new SKIP_KEY_UNITS_ONLY flags
Respect any skip flags set in the incoming segment.

https://bugzilla.gnome.org/show_bug.cgi?id=735666
2015-01-27 04:35:08 +11:00
Sebastian Dröge
99fb9bb207 libav: Update to v11.2 2015-01-17 22:13:36 +01:00
Stefan Sauer
d7dfb30f15 Automatic update of common submodule
From f2c6b95 to bc76a8b
2015-01-12 16:13:15 +01:00
Sebastian Dröge
1aefcbb1f7 Automatic update of common submodule
From ef1ffdc to f2c6b95
2014-12-18 10:56:03 +01:00
Sebastian Dröge
324238a33d libav: Update to v11.1 2014-12-12 09:57:35 +01:00
Aurélien Zanelli
728444168a av: use GMutex instead of deprecated GStaticMutex
https://bugzilla.gnome.org/show_bug.cgi?id=740822
2014-11-28 00:32:28 +00:00
Edward Hervey
70462960d4 Automatic update of common submodule
From 7bb2bce to ef1ffdc
2014-11-27 17:12:26 +01:00
Nicolas Dufresne
9919c274b9 videodec: Ensure update_pool is initialized
This was probably not causing any issues, but we would randomly
and needlessly update the pool in the query due to uninitialized
variable.
2014-11-16 16:11:53 -05:00
Sebastian Dröge
7b9a53068d Automatic update of common submodule
From 84d06cd to 7bb2bce
2014-10-27 18:00:07 +01:00
Tim-Philipp Müller
441014a3dc Automatic update of common submodule
From a8c8939 to 84d06cd
2014-10-21 13:03:27 +01:00
Stefan Sauer
d6c136c3a8 Automatic update of common submodule
From 36388a1 to a8c8939
2014-10-21 12:59:52 +02:00
Aleix Conchillo Flaqué
24780708be avauddec: drain samples until libav doesn't have more data
We use have_data (that comes from libav), instead of only trying 10
times, to know if there are more samples available. The old code was
machine dependent as different amount of samples could be decoded by
different type of (more powerful) machines, and 10 times was not always
sufficient.

https://bugzilla.gnome.org/show_bug.cgi?id=737144
2014-09-23 19:14:06 +03:00
Sebastian Dröge
1217f5e0a1 libav: Update to v11 2014-09-15 22:50:05 +03:00
IBM Thinklab
25ab0036c0 avviddec: drain frames until libav doesn't have more data
We use have_data (that comes from libav), instead of only trying 10 times,
to know if there are more frames available. The old code was machine
dependant as different amount of frames could be decoded by different
type of (more powerful) machines, and 10 times was not always sufficient.

https://bugzilla.gnome.org/show_bug.cgi?id=736515
2014-09-12 16:26:21 +03:00
Sebastian Dröge
f9db6274c2 libav: Update to v11_beta1 2014-08-27 12:39:49 +03:00
Sebastian Dröge
9efc92a3a1 libav: Minor changes to build properly with v11alpha1 2014-08-12 16:17:38 +03:00
Sebastian Dröge
e972365887 libav: Update to v11alpha1 2014-08-12 16:17:37 +03:00
Jan Schmidt
8c00a359d0 avviddec: After draining frames, flush the libav decoder
Makes sure that there's really nothing stale left in the decoder
after draining.

https://bugzilla.gnome.org/show_bug.cgi?id=734661
2014-08-12 22:48:59 +10:00
Aleix Conchillo Flaqué
1307b31e1c avviddec: Don't lose frames on EOS
have_data is not propagated from gst_ffmpegviddec_video_frame to
gst_ffmpegviddec_frame. have_data is only set to 1 in
gst_ffmpegviddec_frame if a frame pointer is passed. However, this is
not true while draining, which means that have_data from libav will be
ignored.

https://bugzilla.gnome.org/show_bug.cgi?id=734608
2014-08-11 18:06:33 +03:00
Thibault Saunier
dc1e69dbea avauddec: Bump the rank of avdec_aac so it is used by default
https://bugzilla.gnome.org/show_bug.cgi?id=676131
2014-08-06 13:26:37 +02:00
Sebastian Dröge
105b2bbe53 libav: Update to v10.3 2014-08-04 15:07:31 +02:00
Edward Hervey
c57c5f6a8f Makefile: Add usage of build-checks step
Allows building checks without running them
2014-08-01 10:41:28 +02:00
Sebastian Dröge
cbbb7c1e3d Back to development 2014-07-19 18:04:49 +02:00
Sebastian Dröge
91752f4e7c Release 1.4.0 2014-07-19 17:49:04 +02:00
Sebastian Dröge
a9ab5fb092 Release 1.3.91 2014-07-11 11:49:03 +02:00
Sebastian Dröge
79a9865c3f Release 1.3.90 2014-06-28 11:44:41 +02:00
Sebastian Dröge
d1acf1e598 libav: Update to v10.2 2014-06-28 09:59:49 +02:00