ALT Linux Bugzilla
– Attachment 6695 Details for
Bug 32014
Невозможно ввести двухзначный номер канала.
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч увеличения задержки ввода номера канала
tvtime_channel_delay.patch (text/plain), 1.56 KB, created by
Alexei V. Mezin
on 2016-04-21 22:50:26 MSK
(
hide
)
Description:
Патч увеличения задержки ввода номера канала
Filename:
MIME Type:
Creator:
Alexei V. Mezin
Created:
2016-04-21 22:50:26 MSK
Size:
1.56 KB
patch
obsolete
>diff -Naur tvtime-1.0.10.orig/src/commands.c tvtime-1.0.10/src/commands.c >--- tvtime-1.0.10.orig/src/commands.c 2016-02-24 12:56:32.000000000 +0300 >+++ tvtime-1.0.10/src/commands.c 2016-04-21 22:36:55.039209701 +0300 >@@ -1066,7 +1066,9 @@ > memset( cmd->newpos, 0, sizeof( cmd->newpos ) ); > > /* Number of frames to wait for next channel digit. */ >- cmd->delay = 100000 / fieldtime; >+ //cmd->delay = 100000 / fieldtime; >+ // Use value defined in tvtimeosd.h >+ cmd->delay = CHANNEL_DELAY; > > cmd->change_channel = 0; > cmd->renumbering = 0; >diff -Naur tvtime-1.0.10.orig/src/input.c tvtime-1.0.10/src/input.c >--- tvtime-1.0.10.orig/src/input.c 2015-09-01 21:47:04.000000000 +0300 >+++ tvtime-1.0.10/src/input.c 2016-04-21 22:36:55.039209701 +0300 >@@ -27,9 +27,10 @@ > #include "utils.h" > #include "input.h" > >-/* Number of frames to wait for next channel digit. */ >-#define CHANNEL_DELAY 100 >- >+// Moved to tvtimeosd.h >+///* Number of frames to wait for next channel digit. */ >+//#define CHANNEL_DELAY 100 >+// > struct input_s { > config_t *cfg; > commands_t *com; >diff -Naur tvtime-1.0.10.orig/src/tvtimeosd.h tvtime-1.0.10/src/tvtimeosd.h >--- tvtime-1.0.10.orig/src/tvtimeosd.h 2015-09-01 21:47:04.000000000 +0300 >+++ tvtime-1.0.10/src/tvtimeosd.h 2016-04-21 22:36:55.039209701 +0300 >@@ -49,6 +49,11 @@ > * +---- ------+ > */ > >+ >+/* Number of frames to wait for next channel digit. */ >+#define CHANNEL_DELAY 100 >+ >+ > typedef struct tvtime_osd_s tvtime_osd_t; > > tvtime_osd_t *tvtime_osd_new( int width, int height, double pixel_aspect,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32014
: 6695