From 27919ee969866b68fc95b327a047a9989e4b4153 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 27 Jan 2002 18:00:00 +0100 Subject: Version 0.99pre2 - Fixed setting the OSD size in the 'Confirm' interface call (thanks to Deti Fliegl). - Removed the 'read incomplete section...' error message in the EIT processor. - Fixed channel data for "DW TV" (thanks to Axel Gruber). - Added DPID to "PREMIERE MOVIE 1" in channels.conf.cable (thanks to Stephan Schreiber). - Prepared the OSD functions for multiple overlapping windows. - Removed the check to see whether the system time is running linearly. - Improved performance of SVDRP command entry. - Removed EPGBugfixLevel '3' - after more than a year Pro-7 finally managed to broadcast the correct timestamps for EPG events between 0:00 and 6:00! - Fixed failing watchdog timer if program hangs in OSD activities (thanks to Carsten Koch). - No longer requiring 'libncurses' if compiling without DEBUG_OSD=1 and REMOTE=KBD (thanks to Lauri Pesonen). - The "Recordings" menu now displays a hierarchical structure if there are subdirectories for the recordings. This can be controlled through the "RecordingDirs" parameter in the "Setup" menu. See "MANUAL/Replaying a Recording" for details. - Improved speed of setting the Help button texts. - Fixed handling file names that contain single quotes (') or dollar signs ($) in the call to the shutdown command (option '-s') and the recording command (option '-r'). - Improved error handling in the editing process; the resulting file will be deleted if an error occured. - A message is now prompted at the end of the editing process, indicating whether the process succeeded or failed. - Fixed setting the LastActivity timestamp after a shutdown prompt (thanks to Sergei Haller). - A message is now prompted if free disk space becomes low during recording. - The editing process now calls AssertFreeDiskSpace() to remove deleted recordings if the disk becomes full. - The "Main" menu now displays in its title the used disk space (in percent) and the estimated free disk space (in hh:mm), assuming a data rate of 30 MB per minute. - Activating the "Recordings" menu now displays "scanning recordings..." to give the user some feedback in case this takes longer. - Status messages are now displayed centered. - Removed the 'Tools' subdirectory from the VDR archive. All contributed tools can now be found at ftp://ftp.cadsoft.de/pub/people/kls/vdr/Tools. --- Tools/schnitt/dump.c | 65 ---------------------------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 Tools/schnitt/dump.c (limited to 'Tools/schnitt/dump.c') diff --git a/Tools/schnitt/dump.c b/Tools/schnitt/dump.c deleted file mode 100644 index a362f68..0000000 --- a/Tools/schnitt/dump.c +++ /dev/null @@ -1,65 +0,0 @@ -#include "libmpeg3.h" -#include -#include -#include -#include - -int main(int argc, char *argv[]) -{ - mpeg3_t *file; - int x,y,ii,i,j,result,out; - int howmany; - unsigned char *output, **output_rows; - char filename[100]; - char header[100]; - char temp; - - howmany = atoi (argv[2]); - - if ((file = mpeg3_open(argv[1])) == NULL) - { - printf ("Open failed\n"); - return 1; - } - mpeg3_set_cpus(file,1); - mpeg3_set_mmx(file,0); - if (mpeg3_has_video == 0) - { - printf ("Stream has no Video\n"); - return 1; - } - x = mpeg3_video_width(file,0); - y = mpeg3_video_height(file, 0); - output = malloc (x*y*3 + 4); - output_rows = malloc (sizeof(unsigned char*) * y); - for(i = 0; i < y; i++) - output_rows[i] = &output[i * x * 3]; - - for (ii = 0; ii < howmany; ii++) - { - result = mpeg3_read_frame(file,output_rows,0,0,x,y,x,y,0,0); - - sprintf (filename,"/x2/temp/output%03i.ppm",ii); - sprintf (header,"P6\n%i %i\n255\n\r",x,y); - -/* printf ("Opening %s\n",filename); */ - - if ((out = open (filename,O_CREAT|O_WRONLY|O_TRUNC,0755)) == -1) - { - printf ("Can't open %s\n",filename); - return 1; - } - - write (out,header,strlen(header)); - - for (i = 0; i < y; i++) - for (j = 0; j < x; j++) - { - temp = output [(i*x+j)*3 + 1]; - output[(i*x+j)*3 + 1] = output [(i*x+j)*3 + 0]; - output[(i*x+j)*3 + 0] = temp; - } - write (out, output, x*y*3); - close (out); - } -} -- cgit v1.2.3