sort by:
Revision Author Date Message Commit Date
0503738 mkv: Use EbmTypeDispatcher in `matroska_segment_c::{ParseTrackEntry, ParseTracks}` Introduced `EbmlTypeDispatcher` to the functions in question, making them more readable (as well as faster). This commit is a very good example of how the new header `Ebml_dispatcher.hpp` allows for better and faster code. Also removed some legacy code that has been disabled due to, by matroska, deprecated types. 08 March 2016, 16:51:49 UTC
421416d mkv: Added EbmlTypeDispatcher The EbmlTypeDispatcher is a type used to "dispatch" an object of type EbmlElement* to an appropriate callback depending on the dynamic type of the referred to object. It can effectivelly replace the massive if-else branches found throughout the module by not only making the code easier to understand and maintain, but also by making it _a lot_ faster (benchmarks show a speed increase between 450 and 700% in terms of lookup). 08 March 2016, 16:51:49 UTC
155fbc6 mediacodec: fix crash when reporting a hw error 08 March 2016, 14:07:43 UTC
bfb5a9c i420_yuy2: fix using buffer areas not visible fixes #16686 Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 08 March 2016, 13:58:46 UTC
ca3e55c i420_yuy2: remove useless lines Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 08 March 2016, 13:58:46 UTC
b26c633 directdraw: list the preferred formats not supported in debug builds Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 08 March 2016, 10:35:11 UTC
c51d1a8 directdraw: better debugging of the pixel format used for surfaces Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 08 March 2016, 10:35:11 UTC
21d8776 bluray: fix copy-paste error Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 08 March 2016, 08:25:24 UTC
e3d09f9 Only add items in the root playlist to the recent elements 07 March 2016, 16:15:15 UTC
6abe049 video_output: better logging of filters needed Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 07 March 2016, 14:15:32 UTC
7cdabac Qt: fix potential crash in UpdateVout() 07 March 2016, 13:36:36 UTC
f4055f8 contrib: update libdsm 07 March 2016, 13:34:39 UTC
ca78be7 dsm: update with last API changes libdsm functions return now a negative number in case of error. Add NT_STATUS error check to detect permission errors in order to ask for credentials only in that case. 07 March 2016, 13:34:39 UTC
106a325 Add shortcut to set focus on playlist search field Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com> Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 07 March 2016, 13:12:58 UTC
fcedf52 ogg codecs: use checked realloc() instead of xrealloc() Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 07 March 2016, 13:07:47 UTC
37a9c77 oggspots: Add OggSpots codec module Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 07 March 2016, 13:05:37 UTC
98448d3 mkv: revert 8317c24270d45b4938acaf58104e18f5039eade0 This reverts commit 8317c24270d45b4938acaf58104e18f5039eade0. it introduced issues with CPU intensive files dropping a lot of frames Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 07 March 2016, 13:04:00 UTC
ce5d53a sftp: Factorize common cleanup code in Open() and Close() Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 07 March 2016, 13:02:52 UTC
2a7f738 sftp: fix browsing home directory ( ex. vlc sftp://127.0.0.1 ) Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 07 March 2016, 13:02:14 UTC
61ffa3f avahi: remove unused default port Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 07 March 2016, 13:02:14 UTC
32e98b0 avahi: add RTSP Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 07 March 2016, 13:02:14 UTC
b6a3dd5 demux: ts: add debuging for arib descriptors From untranslated TR-B14 06 March 2016, 22:36:59 UTC
24f3724 demux: ts: rename transport type field and add ignored one, fully blacklist dsm cc 06 March 2016, 21:33:37 UTC
a9aea03 demux: ts: show psip current program progress 06 March 2016, 21:04:18 UTC
7283809 demux: ts: remove pmt access control test Should already have been evaluated on pat 06 March 2016, 21:03:11 UTC
c7497d0 demux: ts: remove indirect eit callbacks 06 March 2016, 20:22:27 UTC
c91def4 epg: fix current replacement and add tests 06 March 2016, 20:13:43 UTC
f28e899 demux: ts: use fail proof realloc 06 March 2016, 20:13:43 UTC
7ce220a demux: ts: fix current event/running event TS 101 211, undefined status event should be handled as running. Should fix channels without real event status like France 5 06 March 2016, 20:13:43 UTC
8521672 demux: ts: simplify eit offset (arib) and add network time 06 March 2016, 20:13:43 UTC
b051a4b posix fs: define vlc_cloexec when mkostemp does not exist On Android, for 64 bits, O_CLOEXEC is defined, accept4 exists, but not mkostemp. Therefore, in vlc_mkstemp we go to the fallback that calls vlc_cloexec, but we don't define it, because we have accept4 Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:40:57 UTC
2e5cbf3 ogg: Add OggSpots video codec support Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:39:08 UTC
c7ff5cc mkv: fixed seek request diagnostic The diagnostic's intention was to print where we are going to seek in procent, though the actual output was previously in the range [0.0, 1.0]. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:21:32 UTC
d3f83dc mkv: Reimplemented MkvTree and moved it to `Util.hpp` `MkvTree` can be used all across the module, meaning that it better belongs in `Util.hpp` than with static linkage in `matroska_segment_parse.cpp`. - A helper function `MkvTree_va` has been introduced so that one can easily call the function from functions that accepts a variadic number of arguments (using va_list). - The implementation has been optimized so that we do not need to allocate storage for the format string on every invocation if it would fit inside a fixed length buffer. - An error check has been added to signal if we run out of memory. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:21:10 UTC
5fc6cd6 mkv: removed unnecessary memory-allocation in `matroska_segment_parse.cpp` Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:21:07 UTC
7d32c88 mkv: Added error diagnostic if i_track does not match seekpoint Added an if-check to make sure that we do not crash on the lines that follow if we, for some reason, end up in a state where there is no matching seekpoint for the specified `i_track`. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:21:04 UTC
fce2945 mkv: replaced (manual) linked-list with std::vector in `matroska_segment_c::Seek` Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:20:57 UTC
2eca52d mkv: removed manual memory management from Tags + SimpleTags In order to provide better runtime safety manual management of dynamic memory has been removed from `class Tags` and `class SimpleTags`. This includes introducing usage of `std::vector` as well as `std::string`, while also removing data-members that are no longer required. - SimpleTag::b_default has been removed since it was written to (at once place), but never read; the write has been replaced by a comment. - The ParseSimpleTag function has been changed to return `bool` instead of a pointer to signal whether parsing was successful. The result will be written to `pout_simple` (instead of being indirectly returned through a pointer). Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:20:49 UTC
e527210 mkv: removed unnecessary dynamic memory allocations As written in the commit title, a few uses of dynamic memory management has been removed, effectivelly fixing a memory leak as well as making the code cleaner/faster. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:20:45 UTC
19c66b8 mkv: `MKV_CHECKED_PTR_DECL` introduced to `matroska_segment.cpp` See previous commit for information regarding the macro. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:20:41 UTC
d8b179e mkv: Introduced MKV_CHECKED_PTR_DECL `MKV_IS_ID` is a macro to check whether the object hiding behind a pointer has a certain dynamic type and it is being used all over the module. There are however a lot of cases that is followed by a static_cast to the appropriate type; `MKV_CHECKED_PTR_DECL` has been introduced to shorten code that has such usage. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:20:28 UTC
553febf mkv: replaced manual memory-management with std::vector in matroska_segment_c Manually managing memory comes at a cost of both maintainability (in terms of safety) and performance, as such I have replaced `p_indexes` with a `std::vector` with equivalent functionality. Three helper member-functions have been introduced in order to clean up the usage of the functionality, as well as removal of two now obsolete member-variables. A `typedef` has also been introduced to aid future development. The changes in `mkv.cpp` are due to the fact that it needs access to the indexes present in `matroska_segment_c`; this should be refactored away in the future. Also fixed a bug where you would access index out of bounds if there are no known indexes. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:15:12 UTC
881299b mkv: removed indirection when initializing std::string There really is no need to allocate memory for a temporary buffer, copy the data to this buffer, and then use the buffer to initialize a std::string, before freeing the buffer. One of the constructors of std::string can handle the above for us. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:14:03 UTC
d55cd99 mkv: stream_io_callback.cpp c-style casts => c++ casts Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:14:03 UTC
18021cd mkv: virtual_segment.cpp c-style casts => c++ casts Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:14:02 UTC
a567b9e mkv: util.cpp c-style casts => c++ casts Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:14:02 UTC
c3b8f19 mkv: mkv.cpp c-style casts => c++ casts (+fix) - c-style casts have been replaced with safer c++ casts - removed pointless cast after usage of `va_arg` since the type of the expression `va_arg` expands to is documented to be what has been passed as parameter. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:14:02 UTC
a0d9858 mkv: chapter_command.cpp c-style casts => c++ casts Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:14:02 UTC
8fc136d mkv: matroska_segment_parse.cpp c-style cast => c++ cast Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:14:02 UTC
692c8e9 mkv: matroska_segment.cpp c-style cast => c++ cast Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:14:02 UTC
c2e0de7 mkv: replaced magic `10` by real constant + fixed initialization Since `EbmlParser::m_el` has a fixed size we should take advantage of this and actually pass `sizeof(m_el)` directly to `memset`; especially since the old code only initializes the first 6 pointers when the array can potentially store 10 elements. The magic constant 10 has been replaced by `EbmlParser::M_EL_MAXSIZE` to make the code easier to read, and safer to use. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:14:02 UTC
12a207b mkv: clean `chapters.{cpp,hpp}` chapters.cpp: `delete` is a NOOP if the operand is NULL, if-check removed. chapters.{hpp,cpp}: introduced helper for `chapter_item_c::{Enter,Leave}` since they are extremely similar in their implementation. The helper makes use of <algorithm> and <functional> to make the code more error-proof, as a plus it is a little bit cleaner. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:13:22 UTC
4df0bba mkv: added warning regarding undefined-behavior The workaround currently present in the codebase is undefined-behavior since the dynamic type of the object in question is not the one used in the `static_cast`. In short nothing guarantees that the vtable for the different types look the same, and as such this is very dangerous. We should probably supply a patch upstream if the bug is still present in their code. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 05 March 2016, 21:11:43 UTC
81c850e Qt: programmaticaly check module prefix in profiles Both mux_ and non mux_ prefixed being listed 04 March 2016, 14:40:33 UTC
6c1d893 Qt: add missing muxers aliases (fix #12089, #16682) 04 March 2016, 14:37:40 UTC
4dd2f5c input: set the thread priority from the thread callback input_Read() doesn't create any threads and run the Init() function that could change the priority of an uninitialized thread. This could happen when running ./vlc --sout from Windows. 04 March 2016, 12:14:34 UTC
4757ae1 avcodec: disable hwaccel when unsupported/broken (fixes #16642) 04 March 2016, 02:43:16 UTC
51cbbae demux: fix video/MP2T content type probing fixes probing delay when opening DTV 03 March 2016, 20:33:27 UTC
30ae23e demux: ts: add empty eit event (fix #16679) 03 March 2016, 19:23:52 UTC
d412213 contribs: update aribb25 03 March 2016, 18:15:25 UTC
56e6fce contrib: fix SHA512SUM data for Sparkle Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 03 March 2016, 17:16:17 UTC
4a55f4e demux: ts: only construct SI on pmt callbacks Avoid setting DVB specific handlers from start then unsetting when not DVB. 03 March 2016, 17:15:24 UTC
2d27915 demux: ts: rename psip base pid tracking reference on pmt 03 March 2016, 17:15:23 UTC
06f6d94 demux: ts: unify standards and its options 03 March 2016, 17:15:23 UTC
42cb58f demux: ts: encap psi packets push 03 March 2016, 17:15:23 UTC
a985c6f demux: ts: move PAT creation to psi 03 March 2016, 17:15:23 UTC
5d31d47 demux: ts: add dedicated header for ts_pid forward decls 03 March 2016, 17:15:23 UTC
48ff223 demux: ts: unify all si tables pid structs 03 March 2016, 17:15:23 UTC
84ae087 demux: ts: attach si tables by on callback, filter by pid The generic new SI table callback handler must check table id is sent from the right pid. 03 March 2016, 17:15:23 UTC
d2a7fa8 demux: ts: add missing running status 03 March 2016, 17:15:23 UTC
3914f39 demux: ts: simplify the current epg 03 March 2016, 17:15:23 UTC
ff618fd demux: ts: add defines for SI pids 03 March 2016, 17:15:23 UTC
dcacb80 demux: ts: pass pid as si new table callback 03 March 2016, 17:15:23 UTC
8ffb3cd direct3d11: use DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL to avoid buffer copies this will restrict the D3D11 vout to Windows 7 SP1 and Windows 8+ 03 March 2016, 17:14:42 UTC
bd09aeb direct3d11: make sure we request a device that can do D3D11 11.1 03 March 2016, 17:14:42 UTC
47e06f0 direct3d11: the reference driver is not intended for release builds see https://msdn.microsoft.com/en-us/library/windows/desktop/ff476328%28v=vs.85%29.aspx#D3D_DRIVER_TYPE_REFERENCE 03 March 2016, 17:14:42 UTC
2175323 contrib:d3d11: build dxgi1_2.h and dxgi1_3.h 03 March 2016, 17:14:42 UTC
c0d6c69 contrib:d3d11: VideoProcessor support needs D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_OUTPUT 03 March 2016, 17:14:42 UTC
6947740 transcode: destroy the mutex and condition only if they have been initialized. If i_threads == 0, both are not initialized as the function transcode_video_new returns before the call to vlc_mutex_init and vlc_cond_init. This patch fixes a deadlock on vlc_cond_destroy called with an uninitialized condition variable argument. Signed-off-by: Thomas Guillem <thomas@gllm.fr> 02 March 2016, 07:47:05 UTC
4f5af4a mediacodec: fix Android error callback not sent in case of early fail This is the last android ugly hack. This will be gone with the decoder fallback. 01 March 2016, 18:10:28 UTC
1e6811f D3D9: fix typo 01 March 2016, 18:07:00 UTC
96f092a marq: Force the ar to 1:1 01 March 2016, 17:28:17 UTC
b6a5c31 http: test cases for ICY plugin hand-over 01 March 2016, 05:42:07 UTC
3425a6c http: redirect to icyx:// if Icy-Name or Icy-Genre present If an ICY server returns an HTTP response (instead of an non-HTTP ICY response), rewrite the URL to use icyx:// explicitly. 01 March 2016, 05:41:11 UTC
67ddb38 http: test hand-over to MMSH plug-in 01 March 2016, 05:40:40 UTC
39fa337 http: fix MMSH redirection 01 March 2016, 05:39:12 UTC
d71f05b http: update test for Accept-Language 01 March 2016, 05:13:13 UTC
035962f http: drop Accept-Language upon 406 error 01 March 2016, 05:12:52 UTC
2ae9ae7 http: always fill Accept-Language, test it 01 March 2016, 04:37:48 UTC
1a922a4 Avahi: listen to the browsing protocols we support SFTP, FTP, SMB, NFS 29 February 2016, 22:23:26 UTC
c932d32 iOS: disable vpx if we have avcodec and remove legacy configure flag 29 February 2016, 17:07:42 UTC
10f9493 keychain: compile for OS X only for now 29 February 2016, 15:21:45 UTC
5294443 demux: mkv: add ALAC atom size, tag and tag version to private data Fixes #16620 29 February 2016, 15:07:09 UTC
0135c94 Change vlc_meta_DiscNumber's english string to "Disc number" This mimics the english string of vlc_meta_TrackNumber Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 29 February 2016, 14:04:51 UTC
74271ff Qt: Allow sorting by disc number Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 29 February 2016, 14:04:16 UTC
03b90ce playlist: Allow sorting by disc number Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 29 February 2016, 14:03:46 UTC
b4ab905 win32: fix the cygpath test under msys2 The command after the && is not executed when the '-' prefix is there. All other test failures in the Makefile are using the if/then/fi logic. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 29 February 2016, 14:00:29 UTC
f480299 rtsp: fix missing protocol in vlc_credential 29 February 2016, 10:56:17 UTC
2ab554b vlc_credential: update test Call vlc_credential_store even if credential is not valid. Test an invalid path and an invalid url. 29 February 2016, 10:55:55 UTC
1973059 vlc_credential: fix url check 29 February 2016, 10:41:36 UTC
back to top