vlc.git
4 years agomacosx: set window delegate for messages panel, remove singleton
David Fuhrmann [Sun, 9 Aug 2015 16:26:03 +0000 (18:26 +0200)]
macosx: set window delegate for messages panel, remove singleton

4 years agoavcodec: refactor frame_rate probing into own function
Ilkka Ollakka [Sat, 8 Aug 2015 21:36:52 +0000 (00:36 +0300)]
avcodec: refactor frame_rate probing into own function

if codec has list of supported framerates, select highest one
unless user has provided one. If we end up using CLOCK_FREQ in
time_base, it should be quite ok in most cases. Tested with ts/mp4/webm
and mp2v/mp4v/VP80. For some cases it can select higher fps in
mpeg-codecs (60fps) in case of input fps isn't yet known in that point
or is fubared.

Also add special case for MP4V as it doesn't like CLOCK_FREQ in
time_base/frame_rates.

4 years agoavcodec: cosmetic, fix indenting
Ilkka Ollakka [Sat, 8 Aug 2015 21:40:12 +0000 (00:40 +0300)]
avcodec: cosmetic, fix indenting

4 years agoavcodec: scale pts values to libavcodec scale
Ilkka Ollakka [Sat, 8 Aug 2015 21:37:50 +0000 (00:37 +0300)]
avcodec: scale pts values to libavcodec scale

Otherwise bitrate control is quite fobar.

Fixes #11538

Pointed out by Sesse

4 years agowin32: tolerate extra error flags on Vista
Rémi Denis-Courmont [Sat, 8 Aug 2015 18:30:00 +0000 (21:30 +0300)]
win32: tolerate extra error flags on Vista

This should not adversely affect LibVLC: more errors cases will lead to
error code returns instead of abnormal termination. It is not strictly
semantically correct though (update to Win7 or above if you care).

4 years agommdevice: require Vista, simplify
Rémi Denis-Courmont [Sat, 8 Aug 2015 18:30:00 +0000 (21:30 +0300)]
mmdevice: require Vista, simplify

MMDevice is not available on older Windows versions anyway. Failing to
load the plugin there is fine. It is even arguably better: it prevents
impossible choices showing in the preferences.

4 years agoinput: use video/MP2P MIME type for MPEG-PS (fixes #15203)
Rémi Denis-Courmont [Sat, 8 Aug 2015 15:17:01 +0000 (18:17 +0300)]
input: use video/MP2P MIME type for MPEG-PS (fixes #15203)

video/mpeg is underspecified, could be ES, PS or TS.
video/MP1S, video/MP2P and video/MP2T are more specific/better
specified (but should only be used internally or in SDPs).

4 years agovcdx: remove bogus free
Rémi Denis-Courmont [Sat, 8 Aug 2015 12:04:29 +0000 (15:04 +0300)]
vcdx: remove bogus free

4 years agovcdx: syntax error
Rémi Denis-Courmont [Sat, 8 Aug 2015 12:03:30 +0000 (15:03 +0300)]
vcdx: syntax error

4 years agoconfigure: use AC_CHECK_PROG(S) instead of AC_PATH_PROG(S)
Rémi Denis-Courmont [Fri, 7 Aug 2015 17:57:01 +0000 (20:57 +0300)]
configure: use AC_CHECK_PROG(S) instead of AC_PATH_PROG(S)

Where the search paths list is not changed, using AC_PATH_PROG(S) has
no useful effects and makes manual override more difficult.

(Compare to Qt code using different search paths.)

4 years agoRemove unused support for .asm files
Rémi Denis-Courmont [Fri, 7 Aug 2015 17:55:03 +0000 (20:55 +0300)]
Remove unused support for .asm files

4 years agodemux: ts: update PCR for selected scrambled programs
Francois Cartegnie [Thu, 6 Aug 2015 19:05:17 +0000 (21:05 +0200)]
demux: ts: update PCR for selected scrambled programs

Otherwise, it demuxes at max speed without allowing
user to change program

4 years agodemux: ts: avoid flapping scrambled state
Francois Cartegnie [Thu, 6 Aug 2015 17:08:07 +0000 (19:08 +0200)]
demux: ts: avoid flapping scrambled state

Some streams send clear padded data (probably
due to insufficient remaining data for encryption)

We'll only test on payload start then.

4 years agom3u: fix code style
Jean-Baptiste Kempf [Thu, 6 Aug 2015 15:48:46 +0000 (17:48 +0200)]
m3u: fix code style

4 years agoDash/hls/adaptive: Update author line
Jean-Baptiste Kempf [Thu, 6 Aug 2015 15:48:29 +0000 (17:48 +0200)]
Dash/hls/adaptive: Update author line

4 years agodemux: adaptative: always ignore group/program
Francois Cartegnie [Mon, 3 Aug 2015 18:14:46 +0000 (20:14 +0200)]
demux: adaptative: always ignore group/program

Since we can swap formats, some doesn't provide any or same values

4 years agodemux: adaptative: add missing default switch policy for hls
Francois Cartegnie [Sat, 1 Aug 2015 23:22:58 +0000 (01:22 +0200)]
demux: adaptative: add missing default switch policy for hls

4 years agodemux: ts: fix scrambled state debug output
Francois Cartegnie [Sat, 1 Aug 2015 15:35:10 +0000 (17:35 +0200)]
demux: ts: fix scrambled state debug output

4 years agodemux: adaptative: add default ID to AdaptationSet/Representation
Francois Cartegnie [Thu, 30 Jul 2015 22:54:02 +0000 (00:54 +0200)]
demux: adaptative: add default ID to AdaptationSet/Representation

4 years agodemux: adaptative: add generic ID
Francois Cartegnie [Thu, 30 Jul 2015 22:30:21 +0000 (00:30 +0200)]
demux: adaptative: add generic ID

4 years agoes_out_timeshift: merge unkown queries case with invalid ones
Francois Cartegnie [Thu, 30 Jul 2015 12:22:58 +0000 (14:22 +0200)]
es_out_timeshift: merge unkown queries case with invalid ones

4 years agoes_out_timeshift: use switch for CmdCleanControl
Francois Cartegnie [Thu, 30 Jul 2015 12:19:21 +0000 (14:19 +0200)]
es_out_timeshift: use switch for CmdCleanControl

4 years agodemux: adaptative: parse dash codecs
Francois Cartegnie [Sun, 2 Aug 2015 14:47:28 +0000 (16:47 +0200)]
demux: adaptative: parse dash codecs

4 years agodemux: adaptative: parse hls codecs
Francois Cartegnie [Sun, 2 Aug 2015 14:42:06 +0000 (16:42 +0200)]
demux: adaptative: parse hls codecs

4 years agodemux: adaptative: add tokenizer helper
Francois Cartegnie [Sun, 2 Aug 2015 14:22:59 +0000 (16:22 +0200)]
demux: adaptative: add tokenizer helper

4 years agodemux: adaptative: remove unneeded hls temp var
Francois Cartegnie [Sat, 1 Aug 2015 23:47:31 +0000 (01:47 +0200)]
demux: adaptative: remove unneeded hls temp var

4 years agodemux: adaptative: parse hls resolution
Francois Cartegnie [Sat, 1 Aug 2015 23:46:35 +0000 (01:46 +0200)]
demux: adaptative: parse hls resolution

4 years agoPOTFILES: add missing EPGWidget (fix #15164)
Francois Cartegnie [Thu, 6 Aug 2015 15:22:11 +0000 (17:22 +0200)]
POTFILES: add missing EPGWidget (fix #15164)

4 years agoQt: update frame-by-frame icon
Francois Cartegnie [Thu, 6 Aug 2015 15:19:05 +0000 (17:19 +0200)]
Qt: update frame-by-frame icon

Red over blue was against usability rules

4 years agodemux: subtitle: add support for SBV (fix #15180)
Francois Cartegnie [Thu, 6 Aug 2015 14:33:19 +0000 (16:33 +0200)]
demux: subtitle: add support for SBV (fix #15180)

4 years agopacketizer: AVC: parse closed captions
Francois Cartegnie [Thu, 6 Aug 2015 13:18:26 +0000 (15:18 +0200)]
packetizer: AVC: parse closed captions

Closed captions are in the same SEI user sections
as H264 according to the spec.

4 years agopacketizer: vc1: add closed captions support
Francois Cartegnie [Thu, 6 Aug 2015 12:32:21 +0000 (14:32 +0200)]
packetizer: vc1: add closed captions support

4 years agopacketizer: h264: fix comparison and add references
Francois Cartegnie [Thu, 6 Aug 2015 11:57:53 +0000 (13:57 +0200)]
packetizer: h264: fix comparison and add references

4 years agotext_renderer: quartztext: handle monospace font style
Francois Cartegnie [Wed, 5 Aug 2015 20:44:44 +0000 (22:44 +0200)]
text_renderer: quartztext: handle monospace font style

4 years agoh264: name itu t t35 registration
Francois Cartegnie [Thu, 6 Aug 2015 10:53:26 +0000 (12:53 +0200)]
h264: name itu t t35 registration

4 years agomacosx: reorder and group CAS panel actions
David Fuhrmann [Wed, 5 Aug 2015 15:04:19 +0000 (17:04 +0200)]
macosx: reorder and group CAS panel actions

No functional changes.

4 years agomacosx: convert cas to NSWindowController subclass, remove singleton
David Fuhrmann [Wed, 5 Aug 2015 14:37:52 +0000 (16:37 +0200)]
macosx: convert cas to NSWindowController subclass, remove singleton

4 years agomacosx: modernize CAS panel and code
David Fuhrmann [Wed, 5 Aug 2015 13:47:26 +0000 (15:47 +0200)]
macosx: modernize CAS panel and code

4 years agotext_style: use monospace flag instead of boolean
Francois Cartegnie [Wed, 5 Aug 2015 20:25:44 +0000 (22:25 +0200)]
text_style: use monospace flag instead of boolean

4 years agol10n: fr: fix reversed meaning
Francois Cartegnie [Wed, 5 Aug 2015 20:08:22 +0000 (22:08 +0200)]
l10n: fr: fix reversed meaning

4 years agocodec: cc: add monospaced style to segments
Francois Cartegnie [Wed, 5 Aug 2015 19:58:47 +0000 (21:58 +0200)]
codec: cc: add monospaced style to segments

4 years agotext_style: render monospaced fonts
Francois Cartegnie [Wed, 5 Aug 2015 19:57:26 +0000 (21:57 +0200)]
text_style: render monospaced fonts

4 years agolib: fix uninitialized values on error path
Rémi Denis-Courmont [Wed, 5 Aug 2015 18:38:09 +0000 (21:38 +0300)]
lib: fix uninitialized values on error path

4 years agolib: remove libvlc_event_manager_register_event_type()
Rémi Denis-Courmont [Wed, 5 Aug 2015 18:29:55 +0000 (21:29 +0300)]
lib: remove libvlc_event_manager_register_event_type()

4 years agolib: remove event listener groups
Rémi Denis-Courmont [Wed, 5 Aug 2015 18:23:18 +0000 (21:23 +0300)]
lib: remove event listener groups

In real use, there are few (typically only zero or one) listeners per
event type. In this case, the linear search through the listener groups
was actually slower than the linear search through the whole list of
listeners: it required one iteration per event type, even for event
types with no listeners.

(Note: using a hash table over the event type would make a lot more
 sense as an optimization.)

4 years agolib: simplify and speed up event delivery
Rémi Denis-Courmont [Wed, 5 Aug 2015 18:12:00 +0000 (21:12 +0300)]
lib: simplify and speed up event delivery

4 years agolib: merge both event manager locks
Rémi Denis-Courmont [Wed, 5 Aug 2015 18:05:47 +0000 (21:05 +0300)]
lib: merge both event manager locks

The distinction was rather vain, as the inner lock was almost never
held without the outer lock. The only case was adding an event callback
(but _not_ removing one). On the other hand, the distinction required
extra heap manipulations and memory copying for each event.

4 years agolib: merge event_internal.h into event.c
Rémi Denis-Courmont [Wed, 5 Aug 2015 17:18:30 +0000 (20:18 +0300)]
lib: merge event_internal.h into event.c

4 years agolib: remove no lonegr used asynchronous event queue
Rémi Denis-Courmont [Thu, 30 Jul 2015 21:18:27 +0000 (00:18 +0300)]
lib: remove no lonegr used asynchronous event queue

This fixes excessive (and dumb) usage of thread local variables, and
invalid use of thread cancellation.

4 years agolib: add dedicated thread for list player media end handling
Rémi Denis-Courmont [Wed, 5 Aug 2015 16:48:52 +0000 (19:48 +0300)]
lib: add dedicated thread for list player media end handling

This avoids using the buggy asynchronous event queue. This does NOT
solve other existing races and dead locks in the media list player.

4 years agolib: simplify set_relative_playlist_position_and_play()
Rémi Denis-Courmont [Wed, 5 Aug 2015 16:22:17 +0000 (19:22 +0300)]
lib: simplify set_relative_playlist_position_and_play()

4 years agolib: remove dead code
Rémi Denis-Courmont [Wed, 5 Aug 2015 17:04:56 +0000 (20:04 +0300)]
lib: remove dead code

As of a2ab8b276c9628403f237b7e1b1cb1ffdbf16465, there is always a media
player underneath the media list player.

4 years agocodec: cc: remove font forcing
Francois Cartegnie [Wed, 5 Aug 2015 17:53:55 +0000 (19:53 +0200)]
codec: cc: remove font forcing

Setting up font name can't't force font type since
monotype font switch isn't handled by renderer.

4 years agofreetype: fix first backgrounds alignment
Francois Cartegnie [Wed, 5 Aug 2015 17:23:04 +0000 (19:23 +0200)]
freetype: fix first backgrounds alignment

fixes the second line background alignment which is always wrong.

4 years agolib: always create the media player underneath the list player
Rémi Denis-Courmont [Thu, 30 Jul 2015 21:01:12 +0000 (00:01 +0300)]
lib: always create the media player underneath the list player

4 years agoevent: remove unused instance libvlc_event_manager_new() parameter
Rémi Denis-Courmont [Thu, 30 Jul 2015 20:47:20 +0000 (23:47 +0300)]
event: remove unused instance libvlc_event_manager_new() parameter

4 years agolib: retain/release the instance more consistently
Rémi Denis-Courmont [Thu, 30 Jul 2015 20:37:37 +0000 (23:37 +0300)]
lib: retain/release the instance more consistently

All objects with a pointer back to the instance ought to retain a
reference to it (which currently means pretty much all objects).

4 years agolib: remove internal event functions from export list
Rémi Denis-Courmont [Thu, 30 Jul 2015 20:26:01 +0000 (23:26 +0300)]
lib: remove internal event functions from export list

The following functions are not marked LIBVLC_API and are not in the
public header files (for a reason):
 - libvlc_event_manager_new(),
 - libvlc_event_manager_register_event_type() and
 - libvlc_event_manager_release().
There wer no reasons to have them in the symbols list.

4 years agommdevice: fix the WINAPI callback type
Steve Lhomme [Fri, 31 Jul 2015 14:55:04 +0000 (16:55 +0200)]
mmdevice: fix the WINAPI callback type

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agowin32: CreateTimerQueueTimer and DeleteTimerQueueTimer not available on Winstore
Steve Lhomme [Fri, 31 Jul 2015 14:55:02 +0000 (16:55 +0200)]
win32: CreateTimerQueueTimer and DeleteTimerQueueTimer not available on Winstore

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agodemux: remove unused demux_meta_t.p_demux
Rémi Denis-Courmont [Wed, 5 Aug 2015 15:59:58 +0000 (18:59 +0300)]
demux: remove unused demux_meta_t.p_demux

4 years agotaglib: use input item URI
Rémi Denis-Courmont [Wed, 5 Aug 2015 15:59:38 +0000 (18:59 +0300)]
taglib: use input item URI

4 years agocachegen: use _WIN32 instead of WIN32
Steve Lhomme [Mon, 3 Aug 2015 07:03:44 +0000 (09:03 +0200)]
cachegen: use _WIN32 instead of WIN32

--
that's what we use everywhere else

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agotwolame: remove SHA512SUM data for unused header file
Sean McGovern [Sat, 1 Aug 2015 13:31:04 +0000 (09:31 -0400)]
twolame: remove SHA512SUM data for unused header file

It was accidentally left out of 130da2a0256bc032a7f96d446f72a69d5d33867d.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agotwolame: use RECONF
Sean McGovern [Sat, 1 Aug 2015 13:31:03 +0000 (09:31 -0400)]
twolame: use RECONF

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agocodec: cc: missing EnsureUtf8
Francois Cartegnie [Wed, 5 Aug 2015 11:53:43 +0000 (13:53 +0200)]
codec: cc: missing EnsureUtf8

4 years agocodecs: cc: convert styling to text_segment
Francois Cartegnie [Tue, 4 Aug 2015 22:45:58 +0000 (00:45 +0200)]
codecs: cc: convert styling to text_segment

4 years agosubstext: fix null dereference
Francois Cartegnie [Tue, 4 Aug 2015 19:16:27 +0000 (21:16 +0200)]
substext: fix null dereference

4 years agomacosx: Convert VLCVideoEffects to NSWindowController subclass
David Fuhrmann [Sun, 2 Aug 2015 11:22:53 +0000 (13:22 +0200)]
macosx: Convert VLCVideoEffects to NSWindowController subclass

4 years agomacosx: Convert VLCAudioEffects to NSWindowController subclass
David Fuhrmann [Sun, 2 Aug 2015 11:14:18 +0000 (13:14 +0200)]
macosx: Convert VLCAudioEffects to NSWindowController subclass

4 years agomacosx: Convert VLCTrackSync to NSWindowController subclass, remove singleton
David Fuhrmann [Sun, 2 Aug 2015 11:00:14 +0000 (13:00 +0200)]
macosx: Convert VLCTrackSync to NSWindowController subclass, remove singleton

4 years agomacosx: Convert VLCPrefs to NSWindowController subclass
David Fuhrmann [Sun, 2 Aug 2015 10:44:31 +0000 (12:44 +0200)]
macosx: Convert VLCPrefs to NSWindowController subclass

4 years agomacosx: Convert VLCSimplePrefs to NSWindowController subclass
David Fuhrmann [Sun, 2 Aug 2015 10:21:25 +0000 (12:21 +0200)]
macosx: Convert VLCSimplePrefs to NSWindowController subclass

4 years agomacosx: Fix crash in eyetv controller, reformat
David Fuhrmann [Sun, 2 Aug 2015 10:12:44 +0000 (12:12 +0200)]
macosx: Fix crash in eyetv controller, reformat

4 years agomacosx: Convert VLCOpen to NSWindowController subclass
David Fuhrmann [Sun, 2 Aug 2015 10:12:06 +0000 (12:12 +0200)]
macosx: Convert VLCOpen to NSWindowController subclass

4 years agomacosx: Convert VLCBookmarks to NSWindowController subclass
David Fuhrmann [Sun, 2 Aug 2015 09:21:02 +0000 (11:21 +0200)]
macosx: Convert VLCBookmarks to NSWindowController subclass

4 years agovideotoolbox: convert Annex B to avvC
Thomas Guillem [Thu, 30 Jul 2015 14:45:37 +0000 (16:45 +0200)]
videotoolbox: convert Annex B to avvC

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
4 years agovideotoolbox: use nal length size parsed from avcC extradata
Thomas Guillem [Thu, 30 Jul 2015 14:45:36 +0000 (16:45 +0200)]
videotoolbox: use nal length size parsed from avcC extradata

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
4 years agoh264_nal: add convert_annexb_to_h264
Thomas Guillem [Thu, 30 Jul 2015 14:45:35 +0000 (16:45 +0200)]
h264_nal: add convert_annexb_to_h264

This function converts Annex B to avcC format.

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
4 years agoh264_nal: add h264_create_avcdec_config_record
Thomas Guillem [Thu, 30 Jul 2015 14:45:34 +0000 (16:45 +0200)]
h264_nal: add h264_create_avcdec_config_record

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
4 years agovout iOS: compilation fix
Felix Paul Kühne [Fri, 31 Jul 2015 12:23:24 +0000 (14:23 +0200)]
vout iOS: compilation fix

4 years agoandroid: AWindowHandler_releaseSurface now release the ANativeWindow
Thomas Guillem [Fri, 31 Jul 2015 08:26:04 +0000 (10:26 +0200)]
android: AWindowHandler_releaseSurface now release the ANativeWindow

4 years agoRevert "android: rework AWindowHandler interface"
Thomas Guillem [Fri, 31 Jul 2015 08:21:45 +0000 (10:21 +0200)]
Revert "android: rework AWindowHandler interface"

This reverts commit 159a6f1eb0ccc6872a55ef888027800586c8494f.
This is finally not needed by a future patch, and it's less obvious.

4 years agovideotoolbox: added support for ProRes
Felix Paul Kühne [Thu, 30 Jul 2015 21:40:35 +0000 (23:40 +0200)]
videotoolbox: added support for ProRes

4 years agodemux: adaptative: fix uninitialized variable (cid #1313823)
Tristan Matthews [Fri, 31 Jul 2015 10:23:31 +0000 (06:23 -0400)]
demux: adaptative: fix uninitialized variable (cid #1313823)

4 years agodemux: adaptative: fix uninitialized variables (cid #1313824)
Tristan Matthews [Fri, 31 Jul 2015 10:20:42 +0000 (06:20 -0400)]
demux: adaptative: fix uninitialized variables (cid #1313824)

4 years agoQt: SeekStyle: fix uninitialized variable (cid #1313826)
Tristan Matthews [Fri, 31 Jul 2015 10:14:35 +0000 (06:14 -0400)]
Qt: SeekStyle: fix uninitialized variable (cid #1313826)

Possibly refs #13841

4 years agodemux: adaptative: remove dead code (cid #1313827)
Tristan Matthews [Fri, 31 Jul 2015 09:46:52 +0000 (05:46 -0400)]
demux: adaptative: remove dead code (cid #1313827)

Returns before ever incrementing.

4 years agotext_style: fix use-after-free (cid #1313831)
Tristan Matthews [Fri, 31 Jul 2015 09:28:03 +0000 (05:28 -0400)]
text_style: fix use-after-free (cid #1313831)

4 years agoandroid_window: use vlc_mutex
Thomas Guillem [Fri, 31 Jul 2015 07:50:49 +0000 (09:50 +0200)]
android_window: use vlc_mutex

4 years agoandroid_window: don't try to configure if opaque
Thomas Guillem [Fri, 31 Jul 2015 07:08:25 +0000 (09:08 +0200)]
android_window: don't try to configure if opaque

4 years agoandroid: rework AWindowHandler interface
Thomas Guillem [Thu, 30 Jul 2015 18:39:45 +0000 (20:39 +0200)]
android: rework AWindowHandler interface

Use the jsurface instead of the id for AWindowHandler_getANativeWindow and
AWindowHandler_setBuffersGeometry.

AWindowHandler_releaseSurface now release the jsurface and the ANativeWindow.

4 years agomacosx: convert debug message visualizer to NSWindowController
David Fuhrmann [Thu, 30 Jul 2015 17:18:12 +0000 (19:18 +0200)]
macosx: convert debug message visualizer to NSWindowController

... and get rid of another singleton.

4 years agomacosx: do not create VLCVoutController twice, remove singleton
David Fuhrmann [Thu, 30 Jul 2015 16:58:00 +0000 (18:58 +0200)]
macosx: do not create VLCVoutController twice, remove singleton

The only valid instance of the vout controller is owned by VLCMain.

4 years agomacosx: refix bugs by initializing MainWindow in OpenIntf
David Fuhrmann [Thu, 30 Jul 2015 16:49:53 +0000 (18:49 +0200)]
macosx: refix bugs by initializing MainWindow in OpenIntf

Fixes regressions introduced in f450457875207163ddb4f435e0bb5dc868e35ee8.

4 years agoavcodec: fix invalid free
Thomas Guillem [Thu, 30 Jul 2015 15:37:34 +0000 (17:37 +0200)]
avcodec: fix invalid free

Initialize frame to NULL before goto end

4 years agovideotoolbox: re-write frame reordering
Felix Paul Kühne [Thu, 30 Jul 2015 12:25:48 +0000 (14:25 +0200)]
videotoolbox: re-write frame reordering

4 years agoh264_nal: nal length size of 3 is not in the spec
Thomas Guillem [Thu, 30 Jul 2015 11:27:03 +0000 (13:27 +0200)]
h264_nal: nal length size of 3 is not in the spec

cf. ISO/IEC 14496-15 5.2.4.1

4 years agoh264_nal: fix confusion between NAL size and NAL length size.
Thomas Guillem [Thu, 30 Jul 2015 11:22:39 +0000 (13:22 +0200)]
h264_nal: fix confusion between NAL size and NAL length size.

4 years agoh264_nal: add references in comment
Thomas Guillem [Thu, 30 Jul 2015 11:35:39 +0000 (13:35 +0200)]
h264_nal: add references in comment