summaryrefslogtreecommitdiffstats
path: root/src/app
Commit message (Collapse)AuthorAgeFilesLines
* Fix mouse events not changing volumemio2024-12-073-17/+20
| | | | | | | | | | | | Using the scroll wheel over the volume slider would not change the volume, neither would dragging the slider (until released) or clicking on the slider. This patch fixes the above. See: TDE/codeine#5 Signed-off-by: mio <[email protected]> (cherry picked from commit 14b52b5a467e1c5be5ecc9d54c252d787294df3c)
* Allow seeking in FLACmio2024-11-071-6/+0
| | | | | | | Xine has supported seeking in FLAC files since 1.1.16. Signed-off-by: mio <[email protected]> (cherry picked from commit 462472610d2dc46b6b1f82b8b70f0900ae2f8e6c)
* Update the xineScope to remove global variables.mio2024-10-284-56/+141
| | | | | | | | | | | | This patch updates xineScope.c to better align with Amarok's code. As a result, the analyzer is more accurate. For instance, when playing an audio file and there is a silent spot, the blocks will correctly "drop" to the bottom, leaving an empty analyzer. The previous behaviour would leave some blocks "stuck" in their position See: TDE/codeine#23 Signed-off-by: mio <[email protected]> (cherry picked from commit ff2a5768dd4d199cb8bbbe2af4ea3fbb68a489f3)
* Fix the audio analyzermio2024-10-283-62/+622
| | | | | | | | | | | | | Most of the code was already borrowed from Amarok, but wasn't properly finished. This just updates the code to more closely match what is currently in TDE's Amarok. The Analyzer still sits in the statusBar(), which is cool, but can have some delays when watching a video (the video itself is unaffected). See: TDE/codeine#23 Signed-off-by: mio <[email protected]> (cherry picked from commit a3ea0ee70fe8590a96df03dca43ca77f3f28791e)
* Fix channel selection menus disappearingmio2024-10-067-91/+105
| | | | | | | | | | | | | | | | | | When adding/removing an action to/from the toolbar, the aspect ratio, audio channel, and subtitle channel menus would disappear from the parent settings menu. My understanding is that this happened because nothing was keeping those menus present (plugged?) when other actions were plugged/unplugged. This changes it so "Aspect Ratio", "Subtitles", and "Audio Channels" each are a TDESelectAction that is dynamically filled with items. This way, each popup menu is still present after other actions being plugged/unplugged. Resolves: TDE/codeine#24 Signed-off-by: mio <[email protected]> (cherry picked from commit f460840a5e1c4e6cc262177f2b60cebfe469d393)
* Address -Wall warningsmio2024-09-306-17/+22
| | | | | | | | | | | | | | VideoWindow::ExposeEvent wasn't being used correctly; it should be a TQCustomEvent (although, the 3000 type is already being used for forwarding XINE_PROGRESS_EVENT). While the pts_per_smpls part never seemed to be encountered, it would have resulted in a floating point exception as it's always 0. Commented out to leave a hint as to what the code should be doing. Resolves: TDE/codeine#2 Signed-off-by: mio <[email protected]> (cherry picked from commit 9ef39acd5d211e5a8164bfb4a075e2e0cd6f9bee)
* Fix filter list when opening a filemio2024-09-121-7/+31
| | | | | Signed-off-by: mio <[email protected]> (cherry picked from commit c0311bdfc33f07dbde42a9b4f4758a6c505aae84)
* Improve the layout of XineConfigDialogmio2024-08-311-74/+50
| | | | | | | | | | | | Properly display the description of each of the settings. Also, reorganize the layout so that it uses layouts rather than VBox/HBox. The TabWidget class has been removed in favour of the standard TQTabWidget class, as the different behaviour doesn't make a notable visual difference. Signed-off-by: mio <[email protected]> (cherry picked from commit 11c0638baf9ae1623fec00107bb9d065d3ecb88b)
* Fix crash when showing context menu in DVDsmio2024-08-312-3/+6
| | | | | Signed-off-by: mio <[email protected]> (cherry picked from commit b62e6bc2b9329b315893021de30dd5846b48fd81)
* Use nullptr instead of NULL/0 pointer in C++ filesmio2024-08-2210-52/+58
| | | | | | See: https://mirror.git.trinitydesktop.org/gitea/TDE/tde/issues/73 Signed-off-by: mio <[email protected]> (cherry picked from commit ed55bf072682ebf73239e74b7e3dd286ed5616a5)
* Use safer xine_get_current_frame_smio2024-08-221-3/+4
| | | | | | | | | | | | xine_get_current_frame was deprecated back in 2019 because it is "unsafe by design"[0]. The '_s' version was introduced in xine-lib 1.1.11, which was released in 2008, so there are no version checks. [0]: https://sourceforge.net/p/xine/xine-lib-1.2/ci/c1a154c1a89759a8d69a6895587085adf6868d50/ Signed-off-by: mio <[email protected]> (cherry picked from commit 5e965846d17f7053dca99f3366ce5d8f21e8f649)
* Scale capture preview if it exceeds screen boundsmio2024-08-201-1/+11
| | | | | Signed-off-by: mio <[email protected]> (cherry picked from commit 000a65ca625eca28b5912650325886a9454e05c3)
* Replace Qt with TQtMichele Calgaro2024-02-251-1/+1
| | | | | Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 00a73f1dea1194890a6db0bd00ec2759e9ff5bc5)
* Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT definesMichele Calgaro2024-01-0410-48/+48
| | | | | Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 1ca6231ff7a251916340814041990bef8e282308)
* xine engine: make volume control logarithmic for versions of xine < 1.2.13. ↵Michele Calgaro2023-10-097-9/+51
| | | | | | | For xine versions >= 1.2.13, libxine already makes the volume logarithmic. This relates to TDE/tdemultimedia#40. Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit b5977d5e67d68ec18fad1d1130f5a306ce4fe598)
* Fix volume slider functionality and visualizationMichele Calgaro2023-10-062-4/+17
| | | | | Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 1884d0e5a2d8269c27b5874a0626810f979e2e92)
* Replace Q_OBJECT with TQ_OBJECTMichele Calgaro2023-07-246-6/+6
| | | | | Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit ea718087e4710486e5e7b04f2c82eef8866e2cc9)
* Add a couple of missing icons.gregory guy2020-08-022-4/+4
| | | | Signed-off-by: gregory guy <[email protected]>
* Fixed xine scope plugin functionality with xine 1.2.10.Michele Calgaro2020-07-253-93/+132
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Bring back missing icons, thanks to Slávek Banko for the tip.gregory guy2020-06-303-3/+3
| | | | Signed-off-by: gregory guy <[email protected]>
* Drop the use of the HAVE_XINE_H definition.Slávek Banko2020-06-2910-34/+45
| | | | | | | Add include <xine.h> to the appropriate headers. Clean up the arrangement of include files. Signed-off-by: Slávek Banko <[email protected]>
* Added controlled conversions to char* instead of automatic ascii conversions.Slávek Banko2020-06-281-1/+1
| | | | | | The definition of -UTQT_NO_ASCII_CAST is no longer needed. Signed-off-by: Slávek Banko <[email protected]>
* Fixed FTBFS with xine 1.2.10. The use of the xine scope plugin is currentlyMichele Calgaro2020-06-252-150/+168
| | | | | | | | | | | | | | disabled when xine >= 1.2.10 is detected. Additional info: The xine scope plugin is statically linked and therefore written by accessing internal xine data that are no longer publicly available from xine 1.2.10. To add back the scope plugin functionality, the plugin will have to be converted into a dynamically linked one and further work done to fix the logic of the plugin itself. Signed-off-by: Michele Calgaro <[email protected]>
* Get rid of some deprecated.gregory guy2020-06-211-1/+1
| | | | | | given warning: "xine_mrl_reference_data_t XINE_DEPRECATED" Signed-off-by: gregory guy <[email protected]>
* Conversion to the cmake building system.gregory guy2020-06-2130-167/+176
| | | | Signed-off-by: gregory guy <[email protected]>
* Add support for xinelib-1.2, patch is from [email protected]gregory guy2020-06-132-4/+4
| | | | | | | taken from the kde3 OpenSuse repo, package kde3-codeine-1.0.1-52.73.src.rpm http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_Tumbleweed/src Signed-off-by: gregory guy <[email protected]>
* Conversion KDE -> TDE environment.gregory guy2020-06-1323-123/+123
| | | | Signed-off-by: gregory guy <[email protected]>
* Conversion qt3 -> tqt3gregory guy2020-06-1334-591/+591
| | | | Signed-off-by: gregory guy <[email protected]>
* Applied patches from debian/patches.Michele Calgaro2020-06-132-0/+3
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Initial code import from debian snapshotMichele Calgaro2020-06-1339-0/+5429
https://snapshot.debian.org/package/codeine/1.0.1-3.dfsg-3.1/ Signed-off-by: Michele Calgaro <[email protected]>