~medibuntu-maintainers/mplayer/medibuntu.precise

« back to all changes in this revision

Viewing changes to stream/tv.c

  • Committer: Gauvain Pocentek
  • Date: 2012-03-06 11:59:12 UTC
  • mfrom: (66.1.15 precise)
  • Revision ID: gauvain@pocentek.net-20120306115912-h9d6kt9j0l532oo5
* Merge from Ubuntu:
  - put back faac support
  - recommends apport-hooks-medibuntu
  - change Maintainer, Uploaders & Vcs-* fields.
* New upstream snapshot
* upload to unstable
* Build against external libmpeg2
* drop 51_FTBFS_arm.patch again
* no longer build depend on libcdparanoia-dev on the Hurd
* Fix FTBFS on the hurd.
  Thanks to Samuel Thibault <sthibault@debian.org> (Closes: #654974)
* Fix FTBFS on arm
* New upstream snapshot, Closes: #650339, #643621, #481807
* Imported Upstream version 1.0~rc4+svn34492
* Bump standards version
* Bump dependency on libav >= 4:0.8~, Closes: #653887
* Fix build-indep
* Build mplayer-gui again, Closes: #568514
* Drop debian/all-lang-config-mak.sh, no longer needed
* include .dfsg1 in version number
* remove get-orig-source target
* no longer prune compiler flags from the environment
* No longer advertise nor build 3fdx, mga and dxr3 backends,
  Closes: #496106, #442181, #533546
* beautify mplayer version identification string
* Brown paperbag upload.
* Next try to fix build failure on sparce after recent binutils change.
* Brown paperbag upload.
* Really fix build failure on sparc after recent binutils change.
* Properly set Replaces/Conflicts on mplayer2{,-dbg} to avoid
  file overwrite errors.
* Adjust versioning of mplayer listed in the mplayer-dbg's Depends field.
* Fix build failure on sparc after recent binutils change.
* Urgency medium bumped because of RC-level bugfix
  and speeding up x264 transition.
* Update to my @debian.org email.
* Upload to unstable
* Enable joystick support on Linux only, Closes: #638408
* Rebuild fixes toolchain issue on arm, Closes: #637077
* New upstream snapshot
* following the discussion started by Diego Biurrun <diego@biurrun.de>
  in debian-devel, I have prepared a new packaging of 'mplayer'
  (with code that comes from CVS)
* the upstream tar.bz cannot be distributed by Debian, since it contains
   CSS code; so I am repackaging it 
* I have tried my best to address all known issues:
  - the package contains the detailed Copyright made by Diego Biurrun 
  - the package does not contain CSS code, or  AFAIK other code on which 
     there is active patent enforcement
  - there is a script  debian/cvs-changelog.sh  that shows all changes
     done to files included in this source.
    This should comply with GPLv2 sec 2.a  (in spirit if not in letter)
    For this reason, the source code contains CVS directories.
* needs   make (>= 3.80) for 'html-chunked-$(1)' in DOCS/xml/Makefile

* some corrections, as suggested Diego Biurrun
  - binary codecs should go into /usr/lib/codecs (upstream default)
  - better template 'mplayer/install_codecs'
  - an empty 'font=' in mplayer.conf breaks mplayer: postinst corrected
* correction in 'mplayer/cfgnote'
* better mplayer.postinst and mplayer.config

* New upstream release
* better debian/copyright file
* do not ship a skin
* New upstream release
* changed DEB_BUILD_OPTIONS to DEB_BUILD_CONFIGURE ,
  DEB_BUILD_OPTIONS is used as in debian policy
* use gcc-3.4
* changed xlibs-dev to a long list of dependencies, for Debian/etch
* try to adhere to  http://www.mplayerhq.hu/DOCS/tech/binary-packaging.txt
  (see README.Debian for details)
* removed dependency on xlibmesa-dev, disabled opengl
* New upstream release
* Simon McVittie <hacks@pseudorandom.co.uk> wonderful work:
- Work around Debian bug #267442 (glibc's sys/uio.h and gcc's altivec.h have
  conflicting uses for __vector) by re-ordering #includes
- Fix potential symlink attack in ./configure
- Disable support for binary codecs on platforms for which those codecs
  aren't available; also disable the corresponding Debconf note when it's
  inappropriate
- Changed Build-Depends: so it works in pbuilder
- Explicitly build-depend on libjpeg62-dev, libfontconfig1-dev,
  libungif4-dev 
- Tweak debian/rules to avoid certain errors being ignored
- Use --language=all
* provide a target  'debian/rules get-orig-source' 
  that recreates the orig.tar.gz ; then use the above orig.tar.gz
* rewrote some parts of debian/rules
* don't clean and recompile docs if upstream ships them
* mplayer-doc was shipping too much stuff
* translated man pages where not installed properly
* compile with libdv4-dev
* correct README.Debian
* Forgot build-dep on libtheora
* Must not depend on libxvidcore
* New upstream release
* new release.
* rc1 to become 0.90
* new pre-release
* new pre-release
* gtk bug fixed.
* new release.
* version bumped
* 0.60 pre2 release
* 0.60 pre-release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
378
378
{
379
379
    tvh->norm = norm_from_string(tvh, norm);
380
380
 
381
 
    mp_msg(MSGT_TV, MSGL_V, MSGTR_TV_SelectedNorm, norm);
 
381
    mp_msg(MSGT_TV, MSGL_V, "Selected norm : %s\n", norm);
382
382
    if (tvh->functions->control(tvh->priv, TVI_CONTROL_TUN_SET_NORM, &tvh->norm) != TVI_CONTROL_TRUE) {
383
383
        mp_msg(MSGT_TV, MSGL_ERR, MSGTR_TV_CannotSetNorm);
384
384
        return 0;
392
392
{
393
393
   tvh->norm = norm;
394
394
 
395
 
   mp_msg(MSGT_TV, MSGL_V, MSGTR_TV_SelectedNormId, norm);
 
395
   mp_msg(MSGT_TV, MSGL_V, "Selected norm id: %d\n", norm);
396
396
   if (tvh->functions->control(tvh->priv, TVI_CONTROL_TUN_SET_NORM, &tvh->norm) != TVI_CONTROL_TRUE) {
397
397
      mp_msg(MSGT_TV, MSGL_ERR, MSGTR_TV_CannotSetNorm);
398
398
      return 0;
542
542
        mp_msg(MSGT_TV, MSGL_WARN, MSGTR_TV_UnableFindChanlist,
543
543
            tvh->tv_param->chanlist);
544
544
    else
545
 
        mp_msg(MSGT_TV, MSGL_V, MSGTR_TV_SelectedChanlist,
 
545
        mp_msg(MSGT_TV, MSGL_V, "Selected channel list: %s (including %d channels)\n",
546
546
            chanlists[tvh->chanlist].name, chanlists[tvh->chanlist].count);
547
547
 
548
548
    if (tvh->tv_param->freq && tvh->tv_param->channel)
604
604
        funcs->control(tvh->priv, TVI_CONTROL_TUN_SET_FREQ, &freq);
605
605
 
606
606
        funcs->control(tvh->priv, TVI_CONTROL_TUN_GET_FREQ, &freq);
607
 
        mp_msg(MSGT_TV, MSGL_V, MSGTR_TV_SelectedFrequency,
608
 
            freq, (float)freq/16);
 
607
        mp_msg(MSGT_TV, MSGL_V, "Selected frequency: %lu (%.3f)\n",
 
608
               freq, (float)freq/16);
609
609
    }
610
610
 
611
611
            if (tvh->tv_param->channel) {
612
612
        struct CHANLIST cl;
613
613
 
614
 
        mp_msg(MSGT_TV, MSGL_V, MSGTR_TV_RequestedChannel, tvh->tv_param->channel);
 
614
        mp_msg(MSGT_TV, MSGL_V, "Requested channel: %s\n", tvh->tv_param->channel);
615
615
        for (i = 0; i < chanlists[tvh->chanlist].count; i++)
616
616
        {
617
617
            cl = tvh->chanlist_s[i];
840
840
        sh_audio->wf->nBlockAlign = sh_audio->samplesize * sh_audio->channels;
841
841
        sh_audio->wf->nAvgBytesPerSec = sh_audio->i_bps;
842
842
 
843
 
        mp_msg(MSGT_DECVIDEO, MSGL_V, MSGTR_TV_AudioFormat,
 
843
        mp_msg(MSGT_DECVIDEO, MSGL_V, "  TV audio: %d channels, %d bits, %d Hz\n",
844
844
          sh_audio->wf->nChannels, sh_audio->wf->wBitsPerSample,
845
845
          sh_audio->wf->nSamplesPerSec);
846
846
 
930
930
    if (tvh->functions->control(tvh->priv, TVI_CONTROL_IS_TUNER, 0) == TVI_CONTROL_TRUE)
931
931
    {
932
932
        tvh->functions->control(tvh->priv, TVI_CONTROL_TUN_GET_FREQ, freq);
933
 
        mp_msg(MSGT_TV, MSGL_V, MSGTR_TV_CurrentFrequency,
 
933
        mp_msg(MSGT_TV, MSGL_V, "Current frequency: %lu (%.3f)\n",
934
934
            *freq, (float)*freq/16);
935
935
    }
936
936
    return 1;
946
946
        tvh->functions->control(tvh->priv, TVI_CONTROL_TUN_SET_FREQ, &freq);
947
947
 
948
948
        tvh->functions->control(tvh->priv, TVI_CONTROL_TUN_GET_FREQ, &freq);
949
 
        mp_msg(MSGT_TV, MSGL_V, MSGTR_TV_CurrentFrequency,
 
949
        mp_msg(MSGT_TV, MSGL_V, "Current frequency: %lu (%.3f)\n",
950
950
            freq, (float)freq/16);
951
951
    }
952
952
    teletext_control(tvh->demuxer->teletext,TV_VBI_CONTROL_RESET,