<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>32310</bug_id>
          
          <creation_ts>2016-07-25 14:04:18 +0300</creation_ts>
          <short_desc>Не собирается из-за того, что ожидает ffmpeg &gt;= 2.6.0, а получает libav</short_desc>
          <delta_ts>2017-06-17 16:48:00 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>qtox</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>32312</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>157755</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2016-07-25 14:04:18 +0300</bug_when>
    <thetext>src/video/videoframe.cpp: In constructor &apos;VideoFrame::VideoFrame(AVFrame*, int, int, int, std::function&lt;void()&gt;)&apos;:
src/video/videoframe.cpp:43:24: error: &apos;AV_PIX_FMT_YUVJ411P&apos; was not declared in this scope
     else if (pixFmt == AV_PIX_FMT_YUVJ411P)
                        ^
src/video/videoframe.cpp: In member function &apos;bool VideoFrame::convertToRGB24(QSize)&apos;:
src/video/videoframe.cpp:158:98: error: &apos;av_image_get_buffer_size&apos; was not declared in this scope
     int imgBufferSize = av_image_get_buffer_size(AV_PIX_FMT_RGB24, size.width(), size.height(), 1);
                                                                                                  ^
src/video/videoframe.cpp:170:95: error: &apos;av_image_fill_arrays&apos; was not declared in this scope
     av_image_fill_arrays(data, linesize, buf, AV_PIX_FMT_RGB24, size.width(), size.height(), 1);
                                                                                               ^
src/video/videoframe.cpp: In member function &apos;bool VideoFrame::convertToYUV420()&apos;:
src/video/videoframe.cpp:218:84: error: &apos;av_image_get_buffer_size&apos; was not declared in this scope
     int imgBufferSize = av_image_get_buffer_size(AV_PIX_FMT_RGB24, width, height, 1);
                                                                                    ^
src/video/videoframe.cpp:230:83: error: &apos;av_image_fill_arrays&apos; was not declared in this scope
     av_image_fill_arrays(data, linesize, buf, AV_PIX_FMT_YUV420P, width, height, 1);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157759</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2016-07-25 15:14:22 +0300</bug_when>
    <thetext>В репозитории есть это изменение, не вошедшее ни в один релиз:

commit e2ad0b66fa273c5c823978e8f601f2c0d9ee42f8
Author: Stefano Sabatini &lt;stefasab@gmail.com&gt;
Date:   Wed Dec 10 12:20:49 2014 +0000

    imgutils: create misc functions for dealing with buffers
    
    Move the lavc/imgconvert functions and rename them as follows:
      avpicture_get_size -&gt; av_image_get_buffer_size()
      avpicture_fill     -&gt; av_image_fill_arrays()
      avpicture_layout   -&gt; av_image_copy_to_buffer()
    
    The new functions have an align parameter, which allows to define the
    linesize alignment assumed in the buffer (which is set or read).
    
    The names of the functions are consistent with the lavu/samples API
    (av_samples_get_buffer_size(), av_samples_fill_arrays()).
    
    A redundant check has been dropped from av_image_fill_arrays().
    
    Signed-off-by: Vittorio Giovara &lt;vittorio.giovara@gmail.com&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164173</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2017-06-17 16:48:00 +0300</bug_when>
    <thetext>Собрано с ffmpeg:
* Fri Jun 09 2017 Vitaly Lipatov &lt;lav@altlinux.ru&gt; 1.6.0-alt1
- new version (1.6.0) with rpmgs script
- rebuild with ffmpeg</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>