1. 18 Oct, 2014 1 commit
  2. 15 Oct, 2014 1 commit
    • Anton Khirnov's avatar
      lavc: deprecate the use of AVCodecContext.time_base for decoding · 7ea1b347
      Anton Khirnov authored
      When decoding, this field holds the inverse of the framerate that can be
      written in the headers for some codecs. Using a field called 'time_base'
      for this is very misleading, as there are no timestamps associated with
      it. Furthermore, this field is used for a very different purpose during
      encoding.
      
      Add a new field, called 'framerate', to replace the use of time_base for
      decoding.
      7ea1b347
  3. 15 Aug, 2014 1 commit
  4. 18 May, 2014 1 commit
    • Anton Khirnov's avatar
      lavc: add avcodec_free_context(). · fd056029
      Anton Khirnov authored
      Right now, the caller has to manually manage some allocated
      AVCodecContext fields, like extradata or subtitle_header. This is
      fragile and prone to leaks, especially if we want to add more such
      fields in the future.
      
      The only reason for this behaviour is so that the AVStream codec context
      can be reused for decoding. Such reuse is discouraged anyway, so this
      commit is the first step to deprecating it.
      fd056029
  5. 15 May, 2014 2 commits
  6. 04 Nov, 2013 1 commit
  7. 02 Aug, 2013 1 commit
  8. 08 Mar, 2013 1 commit
  9. 08 Oct, 2012 1 commit
  10. 18 Aug, 2012 1 commit
  11. 15 Aug, 2012 1 commit
  12. 20 Mar, 2012 1 commit
  13. 04 Mar, 2012 1 commit
    • Anton Khirnov's avatar
      lavc: deprecate AVCodecContext.sub_id. · 02beb982
      Anton Khirnov authored
      In most places where it's used, it's as a pointless write-only field.
      
      Only rv10 decoder actually reads from it, but it stores some internal
      version info in it. There is no reason for it to be in a public field.
      02beb982
  14. 29 Feb, 2012 9 commits
  15. 13 Feb, 2012 1 commit
  16. 08 Feb, 2012 1 commit
  17. 31 Jan, 2012 2 commits
    • Anton Khirnov's avatar
      lavc: set AVCodecContext.codec in avcodec_get_context_defaults3(). · bc901998
      Anton Khirnov authored
      This way, if the AVCodecContext is allocated for a specific codec, the
      caller doesn't need to store this codec separately and then pass it
      again to avcodec_open2().
      
      It also allows to set codec private options using av_opt_set_* before
      opening the codec.
      bc901998
    • Anton Khirnov's avatar
      lavc: add avcodec_is_open(). · af08d9ae
      Anton Khirnov authored
      It allows to check whether an AVCodecContext is open in a documented
      way. Right now the undocumented way this check is done in lavf/lavc is
      by checking whether AVCodecContext.codec is NULL. However it's desirable
      to be able to set AVCodecContext.codec before avcodec_open2().
      af08d9ae
  18. 27 Jan, 2012 11 commits
  19. 21 Jan, 2012 2 commits