summaryrefslogtreecommitdiffstats
path: root/src/app
Commit message (Collapse)AuthorAgeFilesLines
* Create a AudioView widget for audio-only streamsissue/23/add-audio-viewmio13 hours7-4/+99
| | | | | | | | | Currently Codeine will show a blank area when playing an audio-only file, such as music. This patch adds a new widget that contains an instance of the Analyzer::Block class, so instead of a blank area it contains a "visualizer" of sorts. Signed-off-by: mio <[email protected]>
* Fix mouse events not changing volumemio2024-11-243-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]>
* 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]>
* Update the xineScope to remove global variables.mio2024-10-274-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]>
* Fix the audio analyzermio2024-10-203-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]>
* 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]>
* Address -Wall warningsmio2024-09-296-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]>
* Fix filter list when opening a filemio2024-09-121-7/+31
| | | | Signed-off-by: mio <[email protected]>
* 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]>
* Fix crash when showing context menu in DVDsmio2024-08-312-3/+6
| | | | Signed-off-by: mio <[email protected]>
* 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]>
* 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]>
* Scale capture preview if it exceeds screen boundsmio2024-08-201-1/+11
| | | | Signed-off-by: mio <[email protected]>
* Replace Qt with TQtMichele Calgaro2024-02-251-1/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT definesMichele Calgaro2024-01-0210-48/+48
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* 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]>
* Fix volume slider functionality and visualizationMichele Calgaro2023-10-052-4/+17
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Replace Q_OBJECT with TQ_OBJECTMichele Calgaro2023-07-206-6/+6
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* 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]>