diff mbox series

[FFmpeg-devel,2/2] fate/truehd: add a test for the truehd_core bitstream filter

Message ID 20200419151138.11764-2-jamrial@gmail.com
State Accepted
Commit 300e6f03d96062279d8fbaed3f49c32cfd8fb270
Headers show
Series [FFmpeg-devel,1/2] fate: move TrueHD tests to their own file | expand

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

James Almer April 19, 2020, 3:11 p.m. UTC
Signed-off-by: James Almer <jamrial@gmail.com>
---
 tests/fate/truehd.mak | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Andreas Rheinhardt April 19, 2020, 5:45 p.m. UTC | #1
James Almer:
> Signed-off-by: James Almer <jamrial@gmail.com>
> ---
>  tests/fate/truehd.mak | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/tests/fate/truehd.mak b/tests/fate/truehd.mak
> index 6c8b1220f1..e672716527 100644
> --- a/tests/fate/truehd.mak
> +++ b/tests/fate/truehd.mak
> @@ -8,5 +8,10 @@ fate-truehd-5.1-downmix-2.0: CMD = md5pipe -f truehd -request_channel_layout 2 -
>  fate-truehd-5.1-downmix-2.0: CMP = oneline
>  fate-truehd-5.1-downmix-2.0: REF = a269aee0051d4400c9117136f08c9767
>  
> +FATE_TRUEHD-$(call ALLYES, TRUEHD_DEMUXER TRUEHD_MUXER TRUEHD_CORE_BSF) += fate-truehd-core-bsf
> +fate-truehd-core-bsf: CMD = md5pipe -i $(TARGET_SAMPLES)/truehd/atmos.thd -c:a copy -bsf:a truehd_core -fflags +bitexact -f truehd
> +fate-truehd-core-bsf: CMP = oneline
> +fate-truehd-core-bsf: REF = 3aa5d0c7825051f3657b71fd6135183b
> +
>  FATE_SAMPLES_AUDIO += $(FATE_TRUEHD-yes)
>  fate-truehd: $(FATE_TRUEHD-yes)
> 
Sure about the requirements? The truehd demuxer uses
ff_raw_read_packet_partial() to read packets, so I expected to see the
parser among the requirements.

- Andreas
James Almer April 19, 2020, 5:54 p.m. UTC | #2
On 4/19/2020 2:45 PM, Andreas Rheinhardt wrote:
> James Almer:
>> Signed-off-by: James Almer <jamrial@gmail.com>
>> ---
>>  tests/fate/truehd.mak | 5 +++++
>>  1 file changed, 5 insertions(+)
>>
>> diff --git a/tests/fate/truehd.mak b/tests/fate/truehd.mak
>> index 6c8b1220f1..e672716527 100644
>> --- a/tests/fate/truehd.mak
>> +++ b/tests/fate/truehd.mak
>> @@ -8,5 +8,10 @@ fate-truehd-5.1-downmix-2.0: CMD = md5pipe -f truehd -request_channel_layout 2 -
>>  fate-truehd-5.1-downmix-2.0: CMP = oneline
>>  fate-truehd-5.1-downmix-2.0: REF = a269aee0051d4400c9117136f08c9767
>>  
>> +FATE_TRUEHD-$(call ALLYES, TRUEHD_DEMUXER TRUEHD_MUXER TRUEHD_CORE_BSF) += fate-truehd-core-bsf
>> +fate-truehd-core-bsf: CMD = md5pipe -i $(TARGET_SAMPLES)/truehd/atmos.thd -c:a copy -bsf:a truehd_core -fflags +bitexact -f truehd
>> +fate-truehd-core-bsf: CMP = oneline
>> +fate-truehd-core-bsf: REF = 3aa5d0c7825051f3657b71fd6135183b
>> +
>>  FATE_SAMPLES_AUDIO += $(FATE_TRUEHD-yes)
>>  fate-truehd: $(FATE_TRUEHD-yes)
>>
> Sure about the requirements? The truehd demuxer uses
> ff_raw_read_packet_partial() to read packets, so I expected to see the
> parser among the requirements.

Sure, i can add it. But it may be more correct to add the parser
dependency to the demuxer in configure instead, like the DTS ones do.
Andreas Rheinhardt April 19, 2020, 5:57 p.m. UTC | #3
James Almer:
> On 4/19/2020 2:45 PM, Andreas Rheinhardt wrote:
>> James Almer:
>>> Signed-off-by: James Almer <jamrial@gmail.com>
>>> ---
>>>  tests/fate/truehd.mak | 5 +++++
>>>  1 file changed, 5 insertions(+)
>>>
>>> diff --git a/tests/fate/truehd.mak b/tests/fate/truehd.mak
>>> index 6c8b1220f1..e672716527 100644
>>> --- a/tests/fate/truehd.mak
>>> +++ b/tests/fate/truehd.mak
>>> @@ -8,5 +8,10 @@ fate-truehd-5.1-downmix-2.0: CMD = md5pipe -f truehd -request_channel_layout 2 -
>>>  fate-truehd-5.1-downmix-2.0: CMP = oneline
>>>  fate-truehd-5.1-downmix-2.0: REF = a269aee0051d4400c9117136f08c9767
>>>  
>>> +FATE_TRUEHD-$(call ALLYES, TRUEHD_DEMUXER TRUEHD_MUXER TRUEHD_CORE_BSF) += fate-truehd-core-bsf
>>> +fate-truehd-core-bsf: CMD = md5pipe -i $(TARGET_SAMPLES)/truehd/atmos.thd -c:a copy -bsf:a truehd_core -fflags +bitexact -f truehd
>>> +fate-truehd-core-bsf: CMP = oneline
>>> +fate-truehd-core-bsf: REF = 3aa5d0c7825051f3657b71fd6135183b
>>> +
>>>  FATE_SAMPLES_AUDIO += $(FATE_TRUEHD-yes)
>>>  fate-truehd: $(FATE_TRUEHD-yes)
>>>
>> Sure about the requirements? The truehd demuxer uses
>> ff_raw_read_packet_partial() to read packets, so I expected to see the
>> parser among the requirements.
> 
> Sure, i can add it. But it may be more correct to add the parser
> dependency to the demuxer in configure instead, like the DTS ones do.

Yeah, that makes sense.

- Andreas
James Almer April 19, 2020, 7:01 p.m. UTC | #4
On 4/19/2020 2:57 PM, Andreas Rheinhardt wrote:
> James Almer:
>> On 4/19/2020 2:45 PM, Andreas Rheinhardt wrote:
>>> James Almer:
>>>> Signed-off-by: James Almer <jamrial@gmail.com>
>>>> ---
>>>>  tests/fate/truehd.mak | 5 +++++
>>>>  1 file changed, 5 insertions(+)
>>>>
>>>> diff --git a/tests/fate/truehd.mak b/tests/fate/truehd.mak
>>>> index 6c8b1220f1..e672716527 100644
>>>> --- a/tests/fate/truehd.mak
>>>> +++ b/tests/fate/truehd.mak
>>>> @@ -8,5 +8,10 @@ fate-truehd-5.1-downmix-2.0: CMD = md5pipe -f truehd -request_channel_layout 2 -
>>>>  fate-truehd-5.1-downmix-2.0: CMP = oneline
>>>>  fate-truehd-5.1-downmix-2.0: REF = a269aee0051d4400c9117136f08c9767
>>>>  
>>>> +FATE_TRUEHD-$(call ALLYES, TRUEHD_DEMUXER TRUEHD_MUXER TRUEHD_CORE_BSF) += fate-truehd-core-bsf
>>>> +fate-truehd-core-bsf: CMD = md5pipe -i $(TARGET_SAMPLES)/truehd/atmos.thd -c:a copy -bsf:a truehd_core -fflags +bitexact -f truehd
>>>> +fate-truehd-core-bsf: CMP = oneline
>>>> +fate-truehd-core-bsf: REF = 3aa5d0c7825051f3657b71fd6135183b
>>>> +
>>>>  FATE_SAMPLES_AUDIO += $(FATE_TRUEHD-yes)
>>>>  fate-truehd: $(FATE_TRUEHD-yes)
>>>>
>>> Sure about the requirements? The truehd demuxer uses
>>> ff_raw_read_packet_partial() to read packets, so I expected to see the
>>> parser among the requirements.
>>
>> Sure, i can add it. But it may be more correct to add the parser
>> dependency to the demuxer in configure instead, like the DTS ones do.
> 
> Yeah, that makes sense.

Done. Will push this test later if there are no objections.
James Almer April 20, 2020, 4:57 p.m. UTC | #5
On 4/19/2020 4:01 PM, James Almer wrote:
> On 4/19/2020 2:57 PM, Andreas Rheinhardt wrote:
>> James Almer:
>>> On 4/19/2020 2:45 PM, Andreas Rheinhardt wrote:
>>>> James Almer:
>>>>> Signed-off-by: James Almer <jamrial@gmail.com>
>>>>> ---
>>>>>  tests/fate/truehd.mak | 5 +++++
>>>>>  1 file changed, 5 insertions(+)
>>>>>
>>>>> diff --git a/tests/fate/truehd.mak b/tests/fate/truehd.mak
>>>>> index 6c8b1220f1..e672716527 100644
>>>>> --- a/tests/fate/truehd.mak
>>>>> +++ b/tests/fate/truehd.mak
>>>>> @@ -8,5 +8,10 @@ fate-truehd-5.1-downmix-2.0: CMD = md5pipe -f truehd -request_channel_layout 2 -
>>>>>  fate-truehd-5.1-downmix-2.0: CMP = oneline
>>>>>  fate-truehd-5.1-downmix-2.0: REF = a269aee0051d4400c9117136f08c9767
>>>>>  
>>>>> +FATE_TRUEHD-$(call ALLYES, TRUEHD_DEMUXER TRUEHD_MUXER TRUEHD_CORE_BSF) += fate-truehd-core-bsf
>>>>> +fate-truehd-core-bsf: CMD = md5pipe -i $(TARGET_SAMPLES)/truehd/atmos.thd -c:a copy -bsf:a truehd_core -fflags +bitexact -f truehd
>>>>> +fate-truehd-core-bsf: CMP = oneline
>>>>> +fate-truehd-core-bsf: REF = 3aa5d0c7825051f3657b71fd6135183b
>>>>> +
>>>>>  FATE_SAMPLES_AUDIO += $(FATE_TRUEHD-yes)
>>>>>  fate-truehd: $(FATE_TRUEHD-yes)
>>>>>
>>>> Sure about the requirements? The truehd demuxer uses
>>>> ff_raw_read_packet_partial() to read packets, so I expected to see the
>>>> parser among the requirements.
>>>
>>> Sure, i can add it. But it may be more correct to add the parser
>>> dependency to the demuxer in configure instead, like the DTS ones do.
>>
>> Yeah, that makes sense.
> 
> Done. Will push this test later if there are no objections.

Pushed.
diff mbox series

Patch

diff --git a/tests/fate/truehd.mak b/tests/fate/truehd.mak
index 6c8b1220f1..e672716527 100644
--- a/tests/fate/truehd.mak
+++ b/tests/fate/truehd.mak
@@ -8,5 +8,10 @@  fate-truehd-5.1-downmix-2.0: CMD = md5pipe -f truehd -request_channel_layout 2 -
 fate-truehd-5.1-downmix-2.0: CMP = oneline
 fate-truehd-5.1-downmix-2.0: REF = a269aee0051d4400c9117136f08c9767
 
+FATE_TRUEHD-$(call ALLYES, TRUEHD_DEMUXER TRUEHD_MUXER TRUEHD_CORE_BSF) += fate-truehd-core-bsf
+fate-truehd-core-bsf: CMD = md5pipe -i $(TARGET_SAMPLES)/truehd/atmos.thd -c:a copy -bsf:a truehd_core -fflags +bitexact -f truehd
+fate-truehd-core-bsf: CMP = oneline
+fate-truehd-core-bsf: REF = 3aa5d0c7825051f3657b71fd6135183b
+
 FATE_SAMPLES_AUDIO += $(FATE_TRUEHD-yes)
 fate-truehd: $(FATE_TRUEHD-yes)