File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ COPY . .
12
12
RUN set -x \
13
13
&& apt update -y \
14
14
&& apt install -y ca-certificates lsb-release \
15
- && echo "deb https://www.deb-multimedia.org $(lsb_release -sc) main non-free " >> /etc/apt/sources.list \
15
+ && echo "deb https://www.deb-multimedia.org $(lsb_release -sc) main" >> /etc/apt/sources.list \
16
16
&& apt update -y -oAcquire::AllowInsecureRepositories=true \
17
17
&& apt install -y --force-yes deb-multimedia-keyring \
18
18
&& apt install -y --allow-unauthenticated libavcodec-dev libavdevice-dev libavfilter-dev libavutil-dev libswscale-dev libswresample-dev
@@ -29,7 +29,7 @@ ARG SOURCE
29
29
RUN set -x \
30
30
&& apt update -y \
31
31
&& apt install -y ca-certificates lsb-release \
32
- && echo "deb https://www.deb-multimedia.org $(lsb_release -sc) main non-free " >> /etc/apt/sources.list \
32
+ && echo "deb https://www.deb-multimedia.org $(lsb_release -sc) main" >> /etc/apt/sources.list \
33
33
&& apt update -y -oAcquire::AllowInsecureRepositories=true \
34
34
&& apt install -y --force-yes deb-multimedia-keyring \
35
35
&& apt install -y --allow-unauthenticated ffmpeg
Original file line number Diff line number Diff line change @@ -297,7 +297,6 @@ type jsonAVCodecParameters struct {
297
297
SampleAspectRatio AVRational `json:"sample_aspect_ratio,omitempty"`
298
298
SampleRate int `json:"sample_rate,omitempty"`
299
299
FrameSize int `json:"frame_size,omitempty"`
300
- Framerate AVRational `json:"framerate,omitempty"`
301
300
}
302
301
303
302
func (ctx * AVCodecParameters ) MarshalJSON () ([]byte , error ) {
@@ -312,14 +311,9 @@ func (ctx *AVCodecParameters) MarshalJSON() ([]byte, error) {
312
311
SampleAspectRatio : (AVRational )(ctx .sample_aspect_ratio ),
313
312
SampleRate : int (ctx .sample_rate ),
314
313
FrameSize : int (ctx .frame_size ),
315
- Framerate : (AVRational )(ctx .framerate ),
316
314
})
317
315
}
318
316
319
- func (ctx * AVCodecParameters ) Format () int {
320
- return int (ctx .format )
321
- }
322
-
323
317
func (ctx * AVCodecParameters ) CodecType () AVMediaType {
324
318
return AVMediaType (ctx .codec_type )
325
319
}
@@ -336,6 +330,10 @@ func (ctx *AVCodecParameters) SetCodecTag(tag uint32) {
336
330
ctx .codec_tag = C .uint32_t (tag )
337
331
}
338
332
333
+ func (ctx * AVCodecParameters ) Format () int {
334
+ return int (ctx .format )
335
+ }
336
+
339
337
////////////////////////////////////////////////////////////////////////////////
340
338
// AVCodec
341
339
You can’t perform that action at this time.
0 commit comments