Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/lib/libtuxtxt/tuxtxt.cpp b/lib/libtuxtxt/tuxtxt.cpp
- index 839386d..1bd250f 100644
- --- a/lib/libtuxtxt/tuxtxt.cpp
- +++ b/lib/libtuxtxt/tuxtxt.cpp
- @@ -39,9 +39,6 @@ static int ttx_req_pause;
- static int sub_pid, sub_page;
- static bool use_gui;
- static int cfg_national_subset;
- -#if HAVE_SPARK_HARDWARE
- -bool isTtxEplayer = false;
- -#endif
- static int screen_x, screen_y, screen_w, screen_h;
- @@ -1537,11 +1534,7 @@ void tuxtx_pause_subtitle(bool pause)
- //printf("TuxTxt subtitle unpause, running %d pid %d page %d\n", reader_running, sub_pid, sub_page);
- ttx_paused = 0;
- if(!reader_running && sub_pid && sub_page)
- -#if HAVE_SPARK_HARDWARE
- - tuxtx_main(sub_pid, sub_page, 0, isTtxEplayer);
- -#else
- tuxtx_main(sub_pid, sub_page);
- -#endif
- }
- else {
- if(!reader_running)
- @@ -1599,21 +1592,10 @@ int tuxtx_subtitle_running(int *pid, int *page, int *running)
- return ret;
- }
- -#if HAVE_SPARK_HARDWARE
- -int tuxtx_main(int pid, int page, int source, bool isEplayer)
- -#else
- int tuxtx_main(int pid, int page, int source)
- -#endif
- {
- char cvs_revision[] = "$Revision: 1.95 $";
- -#if HAVE_SPARK_HARDWARE
- - if (isTtxEplayer != isEplayer) {
- - tuxtxt_stop();
- - tuxtxt_clear_cache();
- - isTtxEplayer = isEplayer;
- - }
- -#endif
- use_gui = 1;
- boxed = 0;
- oldboxed = boxed;
- @@ -2322,10 +2304,6 @@ static void CleanUp()
- ******************************************************************************/
- static int GetTeletextPIDs()
- {
- -#if HAVE_SPARK_HARDWARE
- - if (isTtxEplayer)
- - return 0;
- -#endif
- int pat_scan, pmt_scan, sdt_scan, desc_scan, pid_test, byte, diff, first_sdt_sec;
- unsigned char bufPAT[1024];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement