Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command line options #312

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
246ecfb
Add command line options to set video size, position and noaspect fla…
maltk2020 Jan 4, 2022
1fa009f
Remove unnecessary int casts.
maltk2020 Jan 4, 2022
edfcfe7
tk changes
maltk2020 Oct 13, 2022
404622d
fdk-aac
maltk2020 Oct 13, 2022
e64a824
CMakeLists
maltk2020 Oct 13, 2022
f17711e
fdk0-aac on bpi
maltk2020 Oct 13, 2022
d96735d
Changes on Bpi
maltk2020 Oct 13, 2022
0d4db63
Fix compile warnings
maltk2020 Oct 13, 2022
ab3e5a3
Merge branch 'master' of https://github.com/truekinetix/RPiPlay
maltk2020 Oct 13, 2022
8ab1090
Have vscode use CMake config
maltk2020 Oct 13, 2022
57fdacf
Add hook for conn_init and conn_destroy functions to video_renderers,…
maltk2020 Oct 13, 2022
4bbfbdb
Use mplayer we built, with vf expand 32 option to make portrait playi…
maltk2020 Oct 18, 2022
0b6d320
Handle difefrent paths on Pi/laptop; Change net-visible name of Rpipl…
maltk2020 Oct 18, 2022
3cce15b
Debug using logger_log(); Flush stderr in logger
maltk2020 Oct 18, 2022
a758ff6
Log using logger_log()
maltk2020 Oct 18, 2022
9904a1e
Debugging
maltk2020 Oct 18, 2022
4d11da6
Disable signal handling
maltk2020 Oct 18, 2022
d758fa2
Log init
maltk2020 Oct 18, 2022
c2cf01e
Merge branch 'master' of https://github.com/truekinetix/RPiPlay
maltk2020 Oct 18, 2022
a45e993
Add logs
maltk2020 Oct 18, 2022
d3dd4b9
Run video player via shell script so can change options easily
maltk2020 Oct 18, 2022
94e82a3
Fix runvideoplayer.sh call
maltk2020 Oct 19, 2022
4046b39
progress '.'s
maltk2020 Oct 21, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Disable signal handling
  • Loading branch information
maltk2020 committed Oct 18, 2022
commit 4d11da68847f0c5b72ce07e1f50fe2360b24e18b
13 changes: 6 additions & 7 deletions rpiplay.cpp
Original file line number Diff line number Diff line change
@@ -120,13 +120,12 @@ static void signal_handler(int sig) {
}

static void init_signals(void) {
struct sigaction sigact;

sigact.sa_handler = signal_handler;
sigemptyset(&sigact.sa_mask);
sigact.sa_flags = 0;
sigaction(SIGINT, &sigact, NULL);
sigaction(SIGTERM, &sigact, NULL);
//struct sigaction sigact;
//sigact.sa_handler = signal_handler;
//sigemptyset(&sigact.sa_mask);
//sigact.sa_flags = 0;
//sigaction(SIGINT, &sigact, NULL);
//sigaction(SIGTERM, &sigact, NULL);
}

static int parse_hw_addr(std::string str, std::vector<char> &hw_addr) {