]> git.sesse.net Git - vlc/log
vlc
12 years agodash: removed couts from managers
Christopher Mueller [Tue, 3 Apr 2012 14:41:42 +0000 (16:41 +0200)]
dash: removed couts from managers

Signed-off-by: Christopher Mueller <christopher.mueller@itec.aau.at>
Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: fixed buffer precision bug
Christopher Mueller [Tue, 3 Apr 2012 14:41:41 +0000 (16:41 +0200)]
dash: fixed buffer precision bug

Signed-off-by: Christopher Mueller <christopher.mueller@itec.aau.at>
Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: dashmanager refactoring
Christopher Mueller [Tue, 3 Apr 2012 14:41:40 +0000 (16:41 +0200)]
dash: dashmanager refactoring

Signed-off-by: Christopher Mueller <christopher.mueller@itec.aau.at>
Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: cosmetics
Christopher Mueller [Tue, 3 Apr 2012 14:41:39 +0000 (16:41 +0200)]
dash: cosmetics

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: enabled persistent connections and pipelining
Christopher Mueller [Wed, 11 Apr 2012 18:54:20 +0000 (20:54 +0200)]
dash: enabled persistent connections and pipelining

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agoram: Removing write only variable.
Hugo Beauzée-Luyssen [Sat, 14 Apr 2012 09:35:27 +0000 (11:35 +0200)]
ram: Removing write only variable.

12 years agodvbsub: Remove write only variable.
Hugo Beauzée-Luyssen [Thu, 12 Apr 2012 12:57:09 +0000 (14:57 +0200)]
dvbsub: Remove write only variable.

12 years agoaes3: Add unlikely()
Hugo Beauzée-Luyssen [Thu, 12 Apr 2012 12:33:22 +0000 (14:33 +0200)]
aes3: Add unlikely()

12 years agoaes3: Remove write only variable.
Hugo Beauzée-Luyssen [Thu, 12 Apr 2012 12:29:05 +0000 (14:29 +0200)]
aes3: Remove write only variable.

12 years agospatializer: Kill a warning.
Hugo Beauzée-Luyssen [Thu, 12 Apr 2012 12:25:42 +0000 (14:25 +0200)]
spatializer: Kill a warning.

12 years agozip: Check malloc return.
Hugo Beauzée-Luyssen [Thu, 12 Apr 2012 12:07:57 +0000 (14:07 +0200)]
zip: Check malloc return.

12 years agozip: Add unlikely()
Hugo Beauzée-Luyssen [Thu, 12 Apr 2012 11:58:03 +0000 (13:58 +0200)]
zip: Add unlikely()

12 years agofile has moved to android repository
Rafaël Carré [Sun, 15 Apr 2012 22:24:01 +0000 (18:24 -0400)]
file has moved to android repository

12 years agolibav*: move avformat/avcodec init to a single header file
Rafaël Carré [Sun, 15 Apr 2012 19:47:30 +0000 (15:47 -0400)]
libav*: move avformat/avcodec init to a single header file

Avoid repeating the same implementation several times:
 incorrectly (switcher and mux didn't lock)
 redundantly (avcodec_register_all can be called several times)

Move libavXXX init at the top of a few functions, just in case.

Check uses of vlc_avcodec_(un)lock and factorize

12 years agoignore generated zsh completion
Rafaël Carré [Sun, 15 Apr 2012 20:21:32 +0000 (16:21 -0400)]
ignore generated zsh completion

12 years agomacosx vout: fix vertical picture alignment
David Fuhrmann [Sun, 15 Apr 2012 19:06:31 +0000 (21:06 +0200)]
macosx vout: fix vertical picture alignment

12 years agomacosx: move resize code from vout to macosx module
David Fuhrmann [Sun, 15 Apr 2012 18:48:11 +0000 (20:48 +0200)]
macosx: move resize code from vout to macosx module

Also, this commit reenables resize to native video size, if video starts.

12 years agomacosx vout: replace custom picture placement code by placePicture call, and other...
David Fuhrmann [Sun, 15 Apr 2012 09:23:29 +0000 (11:23 +0200)]
macosx vout: replace custom picture placement code by placePicture call, and other simplifications

Now, the vout should have the same functionality as all the other. At least in
fullscreen, zoom should work now like in other vouts.
Furthermore, this commit tells the core our current size on every resize,
so we get a sharp osd screen every time. For zoom / ar / crop / size handling,
the code was simplified in order to remove duplicated lines and to make the
code more readable.

Should also close #307.

12 years agoAdd ranges to font sizes
Kaarlo Raiha [Sun, 15 Apr 2012 12:12:22 +0000 (15:12 +0300)]
Add ranges to font sizes

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoLogger: prefer 'VLC' over 'vlc'
Jean-Baptiste Kempf [Sun, 15 Apr 2012 16:38:18 +0000 (18:38 +0200)]
Logger: prefer 'VLC' over 'vlc'

12 years agoQt: display equalizer bands depending on the core
Jean-Baptiste Kempf [Fri, 13 Apr 2012 16:28:17 +0000 (18:28 +0200)]
Qt: display equalizer bands depending on the core

12 years agoEqualizer: support new samplerates and bands
Ron Wright [Thu, 22 Mar 2012 20:24:45 +0000 (21:24 +0100)]
Equalizer: support new samplerates and bands

Support for more samplerate than 44100 and 48000
Support for classic ISO bands instead of Winamp ones

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agomacosx: fixed delete menu item for the playlist table
Felix Paul Kühne [Sun, 15 Apr 2012 13:55:16 +0000 (15:55 +0200)]
macosx: fixed delete menu item for the playlist table

12 years agocontrib: check if distribution's ffmpeg is recent enough
Rafaël Carré [Sat, 14 Apr 2012 22:53:56 +0000 (18:53 -0400)]
contrib: check if distribution's ffmpeg is recent enough

12 years agomacosx: fix crash when open track sync panel while movie is playing
David Fuhrmann [Sat, 14 Apr 2012 15:11:35 +0000 (17:11 +0200)]
macosx: fix crash when open track sync panel while movie is playing

Crash was introduced in 3e73ad2a8ab6d5e50ea80025d364edbe7ead1d1b (subsdelay filter) and
occurs when user or init methods set subsdelay to 0.

12 years agocontrib: set cross-prefix for x264 when cross compiling
Rafaël Carré [Fri, 13 Apr 2012 18:49:41 +0000 (14:49 -0400)]
contrib: set cross-prefix for x264 when cross compiling

This fixes ARM build

12 years agocontrib: merge x264 and x26410b in the same file
Rafaël Carré [Fri, 13 Apr 2012 18:46:42 +0000 (14:46 -0400)]
contrib: merge x264 and x26410b in the same file

Don't duplicate config options, previously the 10bits variant would
overwrite the other one so .x264 would be built in 10 bits.

Remove support for aeon aged tarball

Note: The same source code is downloaded 2 times

12 years agocontrib: update config.{sub,guess} for a few sout related libs
Rafaël Carré [Fri, 13 Apr 2012 18:16:57 +0000 (14:16 -0400)]
contrib: update config.{sub,guess} for a few sout related libs

12 years agov4l2: reintroduce user pointer mode, now with zero copy
Rémi Denis-Courmont [Fri, 13 Apr 2012 17:38:17 +0000 (20:38 +0300)]
v4l2: reintroduce user pointer mode, now with zero copy

This is negotiated automatically. Unfortunately, it will fail in most
cases (gspca might support it, UVC only supports it in future kernel
version 3.4, and libv4l does not support it anyway).

12 years agov4l2: do not poll for POLLPRI
Rémi Denis-Courmont [Fri, 13 Apr 2012 16:55:40 +0000 (19:55 +0300)]
v4l2: do not poll for POLLPRI

We do not dequeue those events. That could cause busy loops.

12 years agovlc_block_helper.h: remove wrong comment
Frédéric Yhuel [Fri, 16 Mar 2012 11:00:48 +0000 (12:00 +0100)]
vlc_block_helper.h: remove wrong comment

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoQt: Fix ML "Add to playlist" adding items multiple times
Casian Andrei [Wed, 11 Apr 2012 07:53:15 +0000 (10:53 +0300)]
Qt: Fix ML "Add to playlist" adding items multiple times

popupAddToPlaylist() didn't check for the column of the selected model
indexes when adding items. In the case of the tree view, a selected row
meant selected model indexes for all it's columns, so whatever was
selected was added multiple times.

Close #6408

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoomxil: Allocate the sentinel buffer dynamically
Martin Storsjö [Fri, 13 Apr 2012 15:01:20 +0000 (18:01 +0300)]
omxil: Allocate the sentinel buffer dynamically

This avoids issues if there's more than one sentinel added
to a FIFO at the same time, since the FIFO is built as a
linked list.

Also use a custom buffer flag to mark sentinel buffers, to
avoid issues if a codec would set the EOS flag on returned
input buffers.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoMP4: kill a warning for operator priority
Jean-Baptiste Kempf [Fri, 13 Apr 2012 15:06:18 +0000 (17:06 +0200)]
MP4: kill a warning for operator priority

12 years agodemux/mp4: move some stuff in the header file
Frédéric Yhuel [Wed, 11 Apr 2012 15:24:41 +0000 (17:24 +0200)]
demux/mp4: move some stuff in the header file

I need to include mp4_track_t definition in my Smooth Streaming module

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agolibmp4: add two functions for fragmented MP4
Frédéric Yhuel [Wed, 11 Apr 2012 15:24:40 +0000 (17:24 +0200)]
libmp4: add two functions for fragmented MP4

- MP4_BoxGetInitFrag()
- MP4_BoxGetNextChunk()

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoMKV: Fix seeking without cues for clusters without I frames
Denis Charmet [Thu, 12 Apr 2012 00:08:30 +0000 (02:08 +0200)]
MKV: Fix seeking without cues for clusters without I frames

If no frame was found in the cluster rewind to previous seekpoint

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoomxil: Make sure all the real buffers are freed
Martin Storsjö [Thu, 12 Apr 2012 09:15:54 +0000 (12:15 +0300)]
omxil: Make sure all the real buffers are freed

If there's a sentinel buffer in the queue, don't count it,
but wait until the right number of buffers have been freed.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoiomx: Handle more parameter types
Martin Storsjö [Thu, 12 Apr 2012 09:09:42 +0000 (12:09 +0300)]
iomx: Handle more parameter types

These aren't used by the vlc omxil code, but might be used by
other omxil clients that can use the vlc iomx wrapper.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoiomx: Implement OMX_GetComponentsOfRole, too
Martin Storsjö [Thu, 12 Apr 2012 09:09:41 +0000 (12:09 +0300)]
iomx: Implement OMX_GetComponentsOfRole, too

This isn't used by the vlc omxil module, but can be used by other
applications using the same iomx wrapper library.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoMKV: reject invalid real audio data
Jean-Baptiste Kempf [Fri, 13 Apr 2012 12:13:05 +0000 (14:13 +0200)]
MKV: reject invalid real audio data

12 years agoMKV: regroup real codecs
Jean-Baptiste Kempf [Fri, 13 Apr 2012 11:52:19 +0000 (13:52 +0200)]
MKV: regroup real codecs

12 years agoMKV: pass the correct extra_data offset in Atrac3 case
Jean-Baptiste Kempf [Fri, 13 Apr 2012 11:02:08 +0000 (13:02 +0200)]
MKV: pass the correct extra_data offset in Atrac3 case

12 years agomacosx: unify code style for CoreInteraction.m
David Fuhrmann [Fri, 13 Apr 2012 11:25:46 +0000 (13:25 +0200)]
macosx: unify code style for CoreInteraction.m

12 years agomacosx: also notify vout modules if we go to fullscreen
David Fuhrmann [Fri, 13 Apr 2012 11:13:14 +0000 (13:13 +0200)]
macosx: also notify vout modules if we go to fullscreen

12 years agoMap FLAC wf_tag
Jean-Baptiste Kempf [Fri, 13 Apr 2012 09:50:24 +0000 (11:50 +0200)]
Map FLAC wf_tag

12 years agoMap Atrac wf_tags
Jean-Baptiste Kempf [Fri, 13 Apr 2012 09:49:38 +0000 (11:49 +0200)]
Map Atrac wf_tags

12 years agoMKV: help debug in case of unrecognized codecs
Jean-Baptiste Kempf [Thu, 12 Apr 2012 22:45:29 +0000 (00:45 +0200)]
MKV: help debug in case of unrecognized codecs

12 years agoMap Yamaha ADPCM to wf_tag
Jean-Baptiste Kempf [Thu, 12 Apr 2012 22:45:37 +0000 (00:45 +0200)]
Map Yamaha ADPCM to wf_tag

This should fix Yamaha ADPCM in MKV

12 years agoAdd Yamaha ADPCM variant Fourcc
Jean-Baptiste Kempf [Thu, 12 Apr 2012 22:44:59 +0000 (00:44 +0200)]
Add Yamaha ADPCM variant Fourcc

12 years agoGroup ADPCM fourcc
Jean-Baptiste Kempf [Thu, 12 Apr 2012 22:44:12 +0000 (00:44 +0200)]
Group ADPCM fourcc

12 years agov4l2: map buffers before queueing them
Rémi Denis-Courmont [Thu, 12 Apr 2012 20:45:22 +0000 (23:45 +0300)]
v4l2: map buffers before queueing them

Not sure if this is a driver bug or a limitation.

12 years agov4l2: use malloc()
Rémi Denis-Courmont [Thu, 12 Apr 2012 20:01:43 +0000 (23:01 +0300)]
v4l2: use malloc()

12 years agov4l2: fix memory leak on error
Rémi Denis-Courmont [Thu, 12 Apr 2012 20:01:34 +0000 (23:01 +0300)]
v4l2: fix memory leak on error

12 years agov4l2: fix tuner debug messages
Rémi Denis-Courmont [Thu, 12 Apr 2012 19:40:12 +0000 (22:40 +0300)]
v4l2: fix tuner debug messages

12 years agoblock_t: add buffer start and size fields
Rémi Denis-Courmont [Thu, 12 Apr 2012 18:11:00 +0000 (21:11 +0300)]
block_t: add buffer start and size fields

This simplifies the code, and allows resizing non-standard blocks.

12 years agoQt: fix typo
Jean-Baptiste Kempf [Thu, 12 Apr 2012 12:56:40 +0000 (14:56 +0200)]
Qt: fix typo

Close #6619

12 years agoTS mux: csaSetup() returns the CSA context created
Rafaël Carré [Wed, 11 Apr 2012 11:23:18 +0000 (07:23 -0400)]
TS mux: csaSetup() returns the CSA context created

Don't use sys->csa, prefer to use the local variable

12 years agomacosx: prevent intermittent crashes on quit by releasing the main window later,...
Felix Paul Kühne [Wed, 11 Apr 2012 20:41:58 +0000 (22:41 +0200)]
macosx: prevent intermittent crashes on quit by releasing the main window later, since libvlc can try to access it as long as it is alive

12 years agov4l2: fix race condition
Rémi Denis-Courmont [Wed, 11 Apr 2012 20:00:01 +0000 (23:00 +0300)]
v4l2: fix race condition

(regression from 855f0b7d11bd63d929cefea112a0754fdeed3618)

12 years agomacosx: added media key support for keyboards by other manufactorers than Apple such...
Felix Paul Kühne [Wed, 11 Apr 2012 19:48:30 +0000 (21:48 +0200)]
macosx: added media key support for keyboards by other manufactorers than Apple such as Cherry

12 years agov4l2: factorize and simplify mmap() initialization
Rémi Denis-Courmont [Wed, 11 Apr 2012 17:49:24 +0000 (20:49 +0300)]
v4l2: factorize and simplify mmap() initialization

Also fix huge memory leak in v4l2 access (buffers never released).

12 years agov4l2: split module stuff and common access/demux video stuff
Rémi Denis-Courmont [Wed, 11 Apr 2012 17:42:41 +0000 (20:42 +0300)]
v4l2: split module stuff and common access/demux video stuff

12 years agov4l2: remove stray dead code
Rémi Denis-Courmont [Wed, 11 Apr 2012 17:08:49 +0000 (20:08 +0300)]
v4l2: remove stray dead code

12 years agox264: simpler option desc
Jean-Baptiste Kempf [Wed, 11 Apr 2012 16:48:12 +0000 (18:48 +0200)]
x264: simpler option desc

Close #6598

12 years agoQt: do not block the spinbox if preference range is too big
Jean-Baptiste Kempf [Wed, 11 Apr 2012 16:39:44 +0000 (18:39 +0200)]
Qt: do not block the spinbox if preference range is too big

However, we still cannot select the full scale.

Close #6603 and #6602

12 years agov4l2: remove unneeded demux_sys_t.io
Rémi Denis-Courmont [Wed, 11 Apr 2012 16:17:36 +0000 (19:17 +0300)]
v4l2: remove unneeded demux_sys_t.io

12 years agov4l2: privatize demux_sys_t
Rémi Denis-Courmont [Wed, 11 Apr 2012 16:13:46 +0000 (19:13 +0300)]
v4l2: privatize demux_sys_t

In case of pure access:
 - use correct access_sys_t type,
 - remove unused parameters.

12 years agov4l2: GrabVideo() cleanup
Rémi Denis-Courmont [Wed, 11 Apr 2012 16:08:40 +0000 (19:08 +0300)]
v4l2: GrabVideo() cleanup

12 years agov4l2: fix and cleanup of mmap buffers allocation
Rémi Denis-Courmont [Wed, 11 Apr 2012 16:04:56 +0000 (19:04 +0300)]
v4l2: fix and cleanup of mmap buffers allocation

Especially fix memory leaks on error.

12 years agoVorbis: code cosmetics
Jean-Baptiste Kempf [Wed, 11 Apr 2012 09:04:00 +0000 (11:04 +0200)]
Vorbis: code cosmetics

12 years agoVorbisenc: use unsigned for i_channels
Jean-Baptiste Kempf [Wed, 11 Apr 2012 09:16:12 +0000 (11:16 +0200)]
Vorbisenc: use unsigned for i_channels

12 years agoVorbis: disable encoder code when SOUT is disabled
Jean-Baptiste Kempf [Wed, 11 Apr 2012 09:00:37 +0000 (11:00 +0200)]
Vorbis: disable encoder code when SOUT is disabled

12 years agoTaglib: correctly read pictures in Xiph files
Jean-Baptiste Kempf [Tue, 10 Apr 2012 20:50:14 +0000 (22:50 +0200)]
Taglib: correctly read pictures in Xiph files

Those that use METADATA_PICTURE_BLOCK

12 years agoAllow vorbis.h to be included in C++
Jean-Baptiste Kempf [Tue, 10 Apr 2012 20:46:57 +0000 (22:46 +0200)]
Allow vorbis.h to be included in C++

12 years agov4l2: use thread instead of polling
Rémi Denis-Courmont [Tue, 10 Apr 2012 20:10:55 +0000 (23:10 +0300)]
v4l2: use thread instead of polling

12 years agov4l2: inline ProcessVideoFrame(), no functional changes
Rémi Denis-Courmont [Tue, 10 Apr 2012 19:44:04 +0000 (22:44 +0300)]
v4l2: inline ProcessVideoFrame(), no functional changes

12 years agov4l2c: merge I/O method initialization (no functional changes)
Rémi Denis-Courmont [Tue, 10 Apr 2012 19:38:58 +0000 (22:38 +0300)]
v4l2c: merge I/O method initialization (no functional changes)

12 years agov4l2: correct frame rate if enumeration fails
Rémi Denis-Courmont [Tue, 10 Apr 2012 17:38:17 +0000 (20:38 +0300)]
v4l2: correct frame rate if enumeration fails

The streaming parameters depend on the format, so the format must be
set explicitly, then the streaming parameters queried every time.

This essentially reverts 1bb938e4d9c600cf5caabf6a93cefec333e33cdc.

12 years agov4l2: restore support for forced resolution
Rémi Denis-Courmont [Tue, 10 Apr 2012 17:05:16 +0000 (20:05 +0300)]
v4l2: restore support for forced resolution

This brings --v4l2-width and --v4l2-height back into use.
A value range is now added as well.

12 years agov4l2: reset crop after selecting the format
Rémi Denis-Courmont [Tue, 10 Apr 2012 16:43:10 +0000 (19:43 +0300)]
v4l2: reset crop after selecting the format

Cropping depends on the image resolution, which is selected while
setting the format.

12 years agoskins2: fix forgotten initialization in copy constructor
Erwan Tulou [Tue, 10 Apr 2012 16:02:29 +0000 (18:02 +0200)]
skins2: fix forgotten initialization in copy constructor

This bug was unnoticed because this constructor is only called in a situation
where really copying from origin or leaving it to the compiler to set it via
the default constructor leads to the same result (an empty list). Yet, this
was a bug.

It may solve trac #6599 though,
(a Linux port where there is a real initialization issue)

12 years agomacosx: make sure that the main window's split view is correctly resized on relaunch...
Felix Paul Kühne [Tue, 10 Apr 2012 16:15:51 +0000 (18:15 +0200)]
macosx: make sure that the main window's split view is correctly resized on relaunch (close #6597)

12 years agoMP4: code cosmetics
Jean-Baptiste Kempf [Tue, 10 Apr 2012 15:58:22 +0000 (17:58 +0200)]
MP4: code cosmetics

12 years agoMP4: fill the orientation flag in video_format_t
Jean-Baptiste Kempf [Tue, 10 Apr 2012 15:57:50 +0000 (17:57 +0200)]
MP4: fill the orientation flag in video_format_t

Ref #2882

12 years agoMP4: remove trailing spaces
Jean-Baptiste Kempf [Tue, 10 Apr 2012 15:41:15 +0000 (17:41 +0200)]
MP4: remove trailing spaces

12 years agomacosx: re-implement drag & drop support for VLCVoutView (close #6604)
Felix Paul Kühne [Tue, 10 Apr 2012 15:22:14 +0000 (17:22 +0200)]
macosx: re-implement drag & drop support for VLCVoutView (close #6604)

additionally, clean up misc.m and move code shared by VLCVoutView, VLBrushedMetalImageView and VLCThreePartDropView to VLCCoreInteraction

12 years agosubtitles: Cosmetics.
Hugo Beauzée-Luyssen [Tue, 10 Apr 2012 15:00:11 +0000 (17:00 +0200)]
subtitles: Cosmetics.

12 years agosubtitles: Do as stated in the doc.
Hugo Beauzée-Luyssen [Tue, 10 Apr 2012 14:43:16 +0000 (16:43 +0200)]
subtitles: Do as stated in the doc.

("0 = no subtitles autodetected\n")

12 years agosubtitles: Remove unneeded clause
Hugo Beauzée-Luyssen [Tue, 10 Apr 2012 14:24:59 +0000 (16:24 +0200)]
subtitles: Remove unneeded clause

12 years agosubtitles: Fix "any subtitle" detection.
Hugo Beauzée-Luyssen [Tue, 10 Apr 2012 14:24:02 +0000 (16:24 +0200)]
subtitles: Fix "any subtitle" detection.

12 years agosubtitles: Remove unneeded clauses.
Hugo Beauzée-Luyssen [Tue, 10 Apr 2012 13:39:09 +0000 (15:39 +0200)]
subtitles: Remove unneeded clauses.

12 years agosubtitles: Fix subtitles detection.
Hugo Beauzée-Luyssen [Tue, 10 Apr 2012 13:26:39 +0000 (15:26 +0200)]
subtitles: Fix subtitles detection.

12 years agoomxil: Dequeue output frames even if there's no picture to write them into
Martin Storsjö [Sun, 8 Apr 2012 20:17:21 +0000 (23:17 +0300)]
omxil: Dequeue output frames even if there's no picture to write them into

Make sure we always remove all output frames from the output
frame queue, even if there's no picture.

This fixes (for most practical cases at least) the issue where
the app could hang repeating "can't get output picture" after
stopping playback with omxil video decoding.

In that case, the vout didn't return any picture to write the
decoded frames into, causing the omxil codec to run out of output
buffers, blocking, and thus running out of input buffers, blocking
the decoder thread while waiting for a free input buffer.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agomux/ts: Fix setting of even CSA key.
Georgi Chorbadzhiyski [Tue, 10 Apr 2012 10:21:43 +0000 (13:21 +0300)]
mux/ts: Fix setting of even CSA key.

Without this fix the second CSA key can not be set, which results
in a stream that is impossible to decrypt.

Tested with:
  cvlc \
    -I dummy -vv \
    --sout '#standard{access=udp,mux=ts,dst=239.78.78.78:5000}' \
    --sout-ts-crypt-audio --no-sout-ts-crypt-video \
    --sout-ts-csa-ck=1111111111111111 \
    --sout-ts-csa2-ck=0000000000000000 \
    http://example.com/source.ts

Before the patch:
  mux_ts mux debug: using CSA (de)scrambling with odd key=11:11:11:11:11:11:11:11
  mux_ts mux debug: no CSA found
  mux_ts mux debug: no CSA found

After the patch:
  mux_ts mux debug: using CSA (de)scrambling with odd key=11:11:11:11:11:11:11:11
  mux_ts mux debug: using CSA (de)scrambling with even key=0:0:0:0:0:0:0:0

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoQt: correctly destroy EPG dialog
Jean-Baptiste Kempf [Tue, 10 Apr 2012 09:47:19 +0000 (11:47 +0200)]
Qt: correctly destroy EPG dialog

12 years agoMP4: be more picky wrt VC-1 profiles we accept
Jean-Baptiste Kempf [Mon, 9 Apr 2012 23:49:46 +0000 (01:49 +0200)]
MP4: be more picky wrt VC-1 profiles we accept

Maybe it could work with VC-1 Main, but no samples so far

12 years agoMKV: kill a sign warning
Jean-Baptiste Kempf [Mon, 9 Apr 2012 21:38:57 +0000 (23:38 +0200)]
MKV: kill a sign warning

12 years agoMKV: remove unused variable
Jean-Baptiste Kempf [Mon, 9 Apr 2012 21:38:21 +0000 (23:38 +0200)]
MKV: remove unused variable

12 years agomp4: reindent and regroup
Jean-Baptiste Kempf [Mon, 9 Apr 2012 21:37:14 +0000 (23:37 +0200)]
mp4: reindent and regroup