mpeg2enc: store video encoder instance directly in stream writer class
authorTim-Philipp Müller <tim@centricular.net>
Sun, 23 Jun 2013 15:38:49 +0000 (16:38 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 6 Aug 2020 17:13:03 +0000 (17:13 +0000)
commitc9d10e22772a16f39e9226cd77a97afe88bc7681
treec64f29eca19ed3778cc0b5a3d5aa05b85be0cfc5
parent8a745529c78052a4a949e00f0f781b4a9c51f090
mpeg2enc: store video encoder instance directly in stream writer class

Instead of storing the pad and then only using it to get the
element.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1491>
ext/mpeg2enc/gstmpeg2encoder.cc
ext/mpeg2enc/gstmpeg2encstreamwriter.cc
ext/mpeg2enc/gstmpeg2encstreamwriter.hh