~ubuntu-branches/ubuntu/hardy/avidemux/hardy

« back to all changes in this revision

Viewing changes to addons/tsscan/tsscan.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Matvey Kozhev
  • Date: 2007-12-18 13:53:04 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071218135304-cdqec2lg2bglyz15
Tags: 1:2.4~preview3-0.0ubuntu1
* Upload to Ubuntu. (LP: #163287, LP: #126572)
* debian/changelog: re-added Ubuntu releases.
* debian/control:
  - Require debhelper >= 5.0.51 (for dh_icons) and imagemagick.
  - Build-depend on libsdl1.2-dev instead of libsdl-dev.
  - Build against newer libx264-dev. (LP: #138854)
  - Removed libamrnb-dev, not in Ubuntu yet.
* debian/rules:
  - Install all icon sizes, using convert (upstream installs none).
  - Added missing calls to dh_installmenu, dh_installman, dh_icons and
    dh_desktop.
* debian/menu, debian/avidemux-qt.menu:
  - Corrected package and executable names.
* debian/avidemux-common.install: Install icons.
* debian/avidemux.common.manpages: Install man/avidemux.1.
* debian/links, debian/avidemux-cli.links, debian/avidemux-gtk.links:
  - Link manpages to avidemux.1.gz.
* debian/install, debian/avidemux-qt.install, debian/avidemux-gtk.desktop,
  debian/avidemux-qt.desktop: Install desktop files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
int loop=0;
125
125
int pid,adapt,start,len;
126
126
 
127
 
        while(loop<50000)
 
127
        while(loop<350000)
128
128
        {
129
129
                loop++;         
130
130
                if(1!=fread(buffer,TS_PACKET,1,fd))
146
146
                }
147
147
                if(isPMT(pid))
148
148
                        {
 
149
                                printf("PMT Id: 0x%x\n",pid);
149
150
                                decodePMT();
150
151
                                continue;
151
152
                        }
225
226
                        case 0x3: type="mpeg1 audio";break;
226
227
                        case 0x4: type="mpeg2 audio";break;
227
228
                        case 0x1b: type="h264 video";break;
 
229
                        case 0x6: type="Private Stream";break;
228
230
                        default:;
229
231
                }
230
232
                printf("\tStream Type    :0x%x (%s)\n",buffer[index],type);
336
338
        switch(tag)
337
339
        {
338
340
                case 0x52: printf("Stream identifier");break;
 
341
                case 0x59: printf("DVB subtitles");break;
 
342
                case 0x56: printf("Teletext");break;
339
343
                case 0x0a: printf("Language descriptor");break;
340
344
                default : printf("unknown");break;
341
345
        }