Commit Graph

128 Commits (master)

Author SHA1 Message Date
jcdr428 4016357b8e Automatic V3 before muxing (#139)
This patch allow automatic selection of BD-ROM V3 option in GUI before muxing when HEVC is detected.
2020-01-16 19:54:09 +01:00
Daniel Kamil Kozar 451ec61a50
Introduce a uniform formatting style (#131)
The repository now contains a clang-format file which should be used when committing new code. Additionally, a new workflow job is added which checks the conformance of source files to the specified formatting rules.

Fixes #47.
2020-01-14 21:56:44 +01:00
Dan 66121f673d Fix typo in key used by tsMuxerGUI settings : 'famaly' to 'family' (#122) 2020-01-14 21:40:25 +01:00
Daniel Kamil Kozar a4cc39fb10
Non-functional GUI improvements
* Don't include <QtGui>, which is a leftover from Qt4 and causes literally
  everything to be pulled into the TU.
* Use forward declarations instead of includes where possible.
* Replace aggregated Ui* classes with aggregation via pointer, which allows
  these classes to be forward-declared and thus further reduce the number of
  included headers. Aggregation via pointer has been the default in Qt Creator
  for some time now.
* Fix minor warnings reported by Clang.
* Move QnCheckBoxedHeaderView to a separate file.
* Move QtvCodecInfo to a separate file, change initializer list to inline member initialization.
* Create an actual QMake .pro file instead of stuffing it in MXE build scripts.
* Fix 32-bit integers being used as pointers to QtvCodecInfo objects in 64-bit Windows builds.
* Update information in the "About" tab.
2020-01-11 23:46:04 +01:00
Daniel Kamil Kozar 1701957c05
Avoid using the "general" group in QSettings due to QTBUG-28893 (#135)
Fixes #132
2020-01-11 18:28:31 +01:00
jcdr428 99bcae79a7 Fix fps info in HEVC streams and locales using commas as decimal point (#130) 2020-01-11 12:01:09 +01:00
jcdr428 5935cef416
Remove radioButtonBluRayUHD 2020-01-08 17:57:45 +02:00
jcdr428 bc247acebc
Correction CheckBox -> QCheckBox 2020-01-08 17:55:18 +02:00
De Ryck c002fee286 Move BD V3 option to Blu-ray tab
Version is automatically switched to V3 when HEVC is detected.
In case the user wants to force the V3 format for AVC, he will be able to do it via the V3 option in the Blu-ray tab.
2020-01-08 13:33:40 +02:00
jcdr428 21b41bc8f5 Update tsmuxerwindow.cpp (#119)
Allow folder dialog (and not file dialog) to show when UHD Blu-ray folder is selected.
2020-01-08 06:50:42 +01:00
jcdr428 ab2d95db1b
Correct UHD Bluray Folder Behavior
This fixes e.g. lack of chapters with UHD Bluray Folder option.

(see https://forum.doom9.org/showthread.php?p=1894587#post1894587)
2020-01-04 08:59:38 +01:00
Daniel Kamil Kozar 717f5f821e
Disable replacing spaces with underscores in the temporary meta file path (#97)
Unfortunately, we don't have enough history to be able to tell for sure, but it
seems like this was introduced somewhere between 2.6.12 and 2.6.13. The only
reason for this replacement that I can see is trying to prevent the shell from
treating the space-separated parts of the file paths as separate tokens.
Unfortunately, the string returned by QDir::tempPath() can legitimately contain
spaces, as there is nothing preventing the user from having a "fancy" temporary
directory path.

The real reason behind this line remains unknown. tsMuxer GUI currently doesn't
use shell for spawning processes, and arguments to the binary are properly
passed as a QStringList instead of one long string with command and arguments,
where the described issue could actually occur.

Fixes #93.
2019-12-29 22:13:31 +01:00
Daniel Kamil Kozar c22aada8df
Fix numbers appearing in places where the language code should
The original code paired the position inside the langComboBox with an address
into the shortLangList/fullLangList arrays by leveraging the second QVariant
argument of QComboBox::addItem. This was achieved by casting the pointer firstly
to a void*, and then to a qulonglong. However, the code using these QVariants
in QComboBox signal handler functions has since been changed to always call
toString(), which was incorrect and led to addresses being shown in the UI in
the form of longish decimal numbers.

Funnily enough, it looks like these shenanigans weren't even really needed : the
only part of the language pair used in the signal handler functions is the
three-letter code, which can be simply converted to a QString at the time
QComboBox::addItem is called.

Fixes #87.
2019-12-21 20:51:53 +01:00
Daniel Kamil Kozar 565c1a31ca
Use QStandardPaths::findExecutable instead of QFile::exists for finding the main binary
Fixes #78
2019-12-15 01:16:24 +01:00
Dan Bryant aaecc7c1d6 Merging pull request #67 2019-12-10 22:42:23 +00:00
Dan d9ac5f8bdc
Merge pull request #66 from xavery/fixes-and-cleanups
Fixes and cleanups
2019-12-10 21:51:10 +00:00
Dan 6c75b43606
Merge pull request #64 from xavery/use-qt5-connect-syntax
Replace the old QObject::connect syntax with the new one supported since Qt5
2019-12-10 21:37:49 +00:00
Daniel Kamil Kozar 6bc34a6e54
Replace custom platform defines with standard ones 2019-12-08 16:31:56 +01:00
Daniel Kamil Kozar 5ee30737be
Make the GUI look for the main binary under "tsmuxer" and "tsMuxeR"
The all-lowercase binary name is the one that's emitted by the current build
system, while the old one is kept for backwards compatibility.

Fixes #63
2019-12-07 19:37:30 +01:00
Daniel Kamil Kozar b2ac11b0b5
Replace the old QObject::connect syntax with the new one supported since Qt5
The old syntax is essentially based on the "normalised representation" created
by the SIGNAL and SLOT macros, with potential mismatched only being caught at
runtime. The new syntax causes these errors to appear in compile time.
2019-12-07 19:17:19 +01:00
Daniel Bryant eaba2aaf1a amend cmd line option for UHD Blu-Ray and add option to tsMuxerGUI 2019-11-26 16:49:50 +00:00
Daniel Kamil Kozar 9994ee5f44
Completely rework the CMake build system 2019-10-25 17:28:31 +02:00
Dan Bryant c6d101b7c1 update for building with Msys2 on Windows 2019-08-11 17:10:03 +01:00
Dan Bryant 8b27c97bb8 update for Qt5 on Windows 2019-08-10 22:52:51 +01:00
Dan Bryant 2a3f1b5976 update build dependencies, update readme 2019-08-10 18:36:52 +01:00
Dan Bryant 0c9f5291d7 apply Selur's patch for Qt5 compatibility 2019-08-10 18:07:43 +01:00
Dan Bryant 00a5db41fe update for building on Windows 2019-07-28 22:49:07 +01:00
Dan Bryant 71f0f89c93 add source code and changelog 2019-07-15 16:52:40 +01:00