OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
2.6 KiB

  1. diff -dNur pcd-0.0.3-orig/pcd_i18n.c pcd-0.0.3/pcd_i18n.c
  2. --- pcd-0.0.3-orig/pcd_i18n.c 2003-10-05 12:02:40.000000000 +0200
  3. +++ pcd/pcd_i18n.c 2004-06-11 15:57:08.000000000 +0200
  4. @@ -223,4 +223,3 @@
  5. },
  6. { NULL }
  7. };
  8. -
  9. diff -dNur pcd-0.0.3-orig/pcd_menu.c pcd-0.0.3/pcd_menu.c
  10. --- pcd-0.0.3-orig/pcd_menu.c 2003-05-18 18:17:52.000000000 +0200
  11. +++ pcd/pcd_menu.c 2004-06-11 15:50:05.000000000 +0200
  12. @@ -22,6 +22,9 @@
  13. class cPcdControl : cPcdViewerControl {
  14. private:
  15. +#if VDRVERSNUM >= 10307
  16. + cSkinDisplayReplay *display;
  17. +#endif
  18. bool visible, modeOnly;
  19. static int image;
  20. static cPCD *pcd;
  21. @@ -39,6 +42,9 @@
  22. cPcdControl::cPcdControl(void)
  23. : cPcdViewerControl(image, pcd)
  24. {
  25. +#if VDRVERSNUM >= 10307
  26. + display = NULL;
  27. +#endif
  28. visible = modeOnly = false;
  29. }
  30. @@ -64,7 +70,11 @@
  31. void cPcdControl::Hide(void)
  32. {
  33. if (visible) {
  34. +#if VDRVERSNUM >= 10307
  35. + delete display;
  36. +#else
  37. Interface->Close();
  38. +#endif
  39. needsFastResponse = visible = false;
  40. modeOnly = false;
  41. }
  42. diff -dNur pcd-0.0.3-orig/pcd_menu.h pcd-0.0.3/pcd_menu.h
  43. --- pcd-0.0.3-orig/pcd_menu.h 2003-02-12 22:13:29.000000000 +0100
  44. +++ pcd/pcd_menu.h 2004-06-11 15:47:00.000000000 +0200
  45. @@ -14,7 +14,12 @@
  46. #ifndef __PCD_MENU_H
  47. #define __PCD_MENU_H
  48. +#include <vdr/config.h>
  49. +#if VDRVERSNUM >= 10307
  50. +#include <vdr/osdbase.h>
  51. +#else
  52. #include <vdr/osd.h>
  53. +#endif
  54. #include "pcd_func.h"
  55. #include "pcd_viewer.h"
  56. diff -dNur pcd-0.0.3-orig/pcd_mpeg.c pcd-0.0.3/pcd_mpeg.c
  57. --- pcd-0.0.3-orig/pcd_mpeg.c 2003-10-05 16:19:42.000000000 +0200
  58. +++ pcd/pcd_mpeg.c 2004-06-11 15:56:04.000000000 +0200
  59. @@ -19,6 +19,7 @@
  60. #define STARTCODE_SIZE 6
  61. #define PTS_SIZE 5
  62. #define PACKET_DATA_SIZE 0x2000
  63. +#define DEFAULT_FRAME_RATE_BASE 1001000
  64. // --- cMpegFrame ------------------------------------------------------------
  65. @@ -48,7 +49,7 @@
  66. avContext->bit_rate = 400000;
  67. avContext->width = width;
  68. avContext->height = height;
  69. - avContext->frame_rate = (pal ? 25 : 30) * FRAME_RATE_BASE;
  70. + avContext->frame_rate = (pal ? 25 : 30) * DEFAULT_FRAME_RATE_BASE;
  71. avContext->gop_size = 1;
  72. avContext->flags |= CODEC_FLAG_QSCALE;
  73. diff -dNur pcd-0.0.3-orig/pcd_viewer.c pcd-0.0.3/pcd_viewer.c
  74. --- pcd-0.0.3-orig/pcd_viewer.c 2003-05-18 20:46:40.000000000 +0200
  75. +++ pcd/pcd_viewer.c 2004-06-11 15:53:58.000000000 +0200
  76. @@ -435,7 +435,11 @@
  77. else
  78. tick = PcdSetupData.SlideInterval;
  79. dsyslog("PCD: slideshow %s", tick>-1 ? "on" : "off");
  80. +#if VDRVERSNUM >= 10307
  81. + Skins.Message(mtInfo, tick>-1 ? tr("Slideshow on") : tr("Slideshow off"));
  82. +#else
  83. Interface->Info(tick>-1 ? tr("Slideshow on") : tr("Slideshow off"));
  84. +#endif
  85. }
  86. bool cPcdViewer::SkipImages(int Images)