Skip to content

Commit

Permalink
Revert "Workaround for corrupted frames"
Browse files Browse the repository at this point in the history
This reverts commit f14e880.
  • Loading branch information
onthegit committed Aug 3, 2023
1 parent 8498662 commit 91ebfc6
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions pkg/pipeline/input/video.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,6 @@ func (v *videoInput) buildAppSource(p *config.PipelineConfig) error {

v.elements = append(v.elements, caps)

caps, err := gst.NewElement("capsfilter")
if err != nil {
return errors.ErrGstPipelineError(err)
}
if err = caps.SetProperty("caps", gst.NewCapsFromString(
`video/x-h264,stream-format="byte-stream"`)); err != nil {
return errors.ErrGstPipelineError(err)
}

v.elements = append(v.elements, caps)

if p.VideoTranscoding {
avDecH264, err := gst.NewElement("avdec_h264")
if err != nil {
Expand Down

0 comments on commit 91ebfc6

Please sign in to comment.