summaryrefslogtreecommitdiffstats
path: root/ext/mpeg2enc/gstmpeg2encoder.cc
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-03-14 23:20:41 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-03-14 23:20:41 +0000
commit87960e43ea268d999cbc3ed5a589f660fb3e3192 (patch)
tree48a676a58e4355eee64d3f14ea205d793809a323 /ext/mpeg2enc/gstmpeg2encoder.cc
parent7a778ee4b7ec09a1f5b2185c9cceee3910dfbdf2 (diff)
downloadgst-plugins-bad-87960e43ea268d999cbc3ed5a589f660fb3e3192.tar.gz
gst-plugins-bad-87960e43ea268d999cbc3ed5a589f660fb3e3192.tar.bz2
gst-plugins-bad-87960e43ea268d999cbc3ed5a589f660fb3e3192.zip
gst-indent c++ files
Original commit message from CVS: gst-indent c++ files
Diffstat (limited to 'ext/mpeg2enc/gstmpeg2encoder.cc')
-rw-r--r--ext/mpeg2enc/gstmpeg2encoder.cc21
1 files changed, 9 insertions, 12 deletions
diff --git a/ext/mpeg2enc/gstmpeg2encoder.cc b/ext/mpeg2enc/gstmpeg2encoder.cc
index f5b2ee4b..5a77b58b 100644
--- a/ext/mpeg2enc/gstmpeg2encoder.cc
+++ b/ext/mpeg2enc/gstmpeg2encoder.cc
@@ -35,11 +35,9 @@
* Class init stuff.
*/
-GstMpeg2Encoder::GstMpeg2Encoder (GstMpeg2EncOptions *options,
- GstPad *sinkpad,
- const GstCaps *caps,
- GstPad *srcpad) :
- MPEG2Encoder (*options)
+GstMpeg2Encoder::GstMpeg2Encoder (GstMpeg2EncOptions * options,
+ GstPad * sinkpad, const GstCaps * caps, GstPad * srcpad):
+MPEG2Encoder (*options)
{
MPEG2EncInVidParams strm;
@@ -58,7 +56,7 @@ GstMpeg2Encoder::GstMpeg2Encoder (GstMpeg2EncOptions *options,
/* sequencer */
seqencoder = new SeqEncoder (parms, *reader, *quantizer,
- *writer, *coder, *bitrate_controller);
+ *writer, *coder, *bitrate_controller);
parms.Init (*options);
reader->Init ();
@@ -86,10 +84,9 @@ GstMpeg2Encoder::getFormat ()
gdouble fps = Y4M_RATIO_DBL (mpeg_framerate (options.frame_rate));
return gst_caps_new_simple ("video/mpeg",
- "systemstream", G_TYPE_BOOLEAN, FALSE,
- "mpegversion", G_TYPE_INT, options.mpeg,
- "width", G_TYPE_INT, options.in_img_width,
- "height", G_TYPE_INT, options.in_img_height,
- "framerate", G_TYPE_DOUBLE, fps,
- NULL);
+ "systemstream", G_TYPE_BOOLEAN, FALSE,
+ "mpegversion", G_TYPE_INT, options.mpeg,
+ "width", G_TYPE_INT, options.in_img_width,
+ "height", G_TYPE_INT, options.in_img_height,
+ "framerate", G_TYPE_DOUBLE, fps, NULL);
}