summaryrefslogtreecommitdiffstats
path: root/ext/x264/gstx264enc.c
AgeCommit message (Collapse)AuthorFilesLines
2009-01-05ext/x264/gstx264enc.c: Use hyphen in property name, perform safety buffer ↵Mark Nauwelaerts1-4/+5
size check prior to mem access, and some mo... Original commit message from CVS: * ext/x264/gstx264enc.c: (gst_x264_enc_class_init), (gst_x264_enc_header_buf), (gst_x264_enc_encode_frame): Use hyphen in property name, perform safety buffer size check prior to mem access, and some more parentheses in macro.
2009-01-02ext/apexsink/Makefile.am: Link against -lgcrpyto for RSA_new and RSA_free.Alessandro Decina1-1/+1
Original commit message from CVS: * ext/apexsink/Makefile.am: Link against -lgcrpyto for RSA_new and RSA_free. * ext/faac/gstfaac.c: * ext/x264/gstx264enc.c: Fix compiler warnings.
2008-11-14ext/x264/gstx264enc.c: Construct source caps in more conventional (and ↵Mark Nauwelaerts1-6/+7
correct) manner. Original commit message from CVS: * ext/x264/gstx264enc.c: (gst_x264_enc_set_src_caps): Construct source caps in more conventional (and correct) manner.
2008-10-27ext/x264/gstx264enc.c: Adapt to slightly modified x264 API. Fixes #555238.Mark Nauwelaerts1-0/+5
Original commit message from CVS: * ext/x264/gstx264enc.c: (gst_x264_enc_init_encoder): Adapt to slightly modified x264 API. Fixes #555238.
2008-08-12ext/x264/gstx264enc.*: Do not deal with duplicated input (timestamps). If ↵Mark Nauwelaerts1-24/+4
needed, a generic element can do so. Original commit message from CVS: * ext/x264/gstx264enc.c: (gst_x264_enc_reset), (gst_x264_enc_chain), (gst_x264_enc_encode_frame): * ext/x264/gstx264enc.h: Do not deal with duplicated input (timestamps). If needed, a generic element can do so. Do not manipulate input timestamps on the way out, since that shifts the timeline and A/V sync.
2008-08-12docs/plugins/gst-plugins-bad-plugins.args: Integrate new properties into ↵Mark Nauwelaerts1-34/+10
documentation. Original commit message from CVS: * docs/plugins/gst-plugins-bad-plugins.args: Integrate new properties into documentation. * ext/x264/gstx264enc.c: (gst_x264_enc_class_init), (gst_x264_enc_init), (gst_x264_enc_init_encoder), (gst_x264_enc_set_property), (gst_x264_enc_get_property): Fix up API prior to eventual plugin move. API: GstX264Enc:pass (provides more options, and changed to enum)
2008-08-12Add documentation and unit test for x264enc.Mark Nauwelaerts1-0/+30
Original commit message from CVS: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: * ext/x264/gstx264enc.c: * tests/check/Makefile.am: * tests/check/elements/x264enc.c: (setup_x264enc), (cleanup_x264enc), (GST_START_TEST), (x264enc_suite), (main): Add documentation and unit test for x264enc.
2008-08-11ext/x264/gstx264enc.c: Allocate some buffers in more adaptive and economical ↵Mark Nauwelaerts1-14/+14
fashion. Original commit message from CVS: * ext/x264/gstx264enc.c: (gst_x264_enc_init), (gst_x264_enc_header_buf), (gst_x264_enc_encode_frame): Allocate some buffers in more adaptive and economical fashion.
2008-08-11configure.ac: Check for sufficiently up-to-date x264 API.Mark Nauwelaerts1-59/+275
Original commit message from CVS: * configure.ac: Check for sufficiently up-to-date x264 API. * ext/x264/gstx264enc.c: (gst_x264_enc_pass_get_type), (gst_x264_enc_base_init), (gst_x264_enc_class_init), (gst_x264_enc_init), (gst_x264_enc_init_encoder), (gst_x264_enc_set_property), (gst_x264_enc_get_property): * ext/x264/gstx264enc.h: Expose some more parameters of the x264 encoder as properties.
2008-08-08ext/x264/gstx264enc.c: Coding style and layout; re-order some functions in ↵Mark Nauwelaerts1-192/+191
more typical and natural flow. Original commit message from CVS: * ext/x264/gstx264enc.c: (gst_x264_enc_log_callback), (gst_x264_enc_finalize), (gst_x264_enc_header_buf), (gst_x264_enc_set_src_caps), (gst_x264_enc_sink_set_caps), (gst_x264_enc_flush_frames): Coding style and layout; re-order some functions in more typical and natural flow.
2008-08-08ext/x264/: Use GQueue in stead of custom queue code.Mark Nauwelaerts1-111/+71
Original commit message from CVS: * ext/x264/Makefile.am: * ext/x264/gstx264enc.c: (gst_x264_enc_set_src_caps), (gst_x264_enc_sink_set_caps), (gst_x264_enc_init), (gst_x264_enc_reset), (gst_x264_enc_finalize), (gst_x264_enc_flush_frames), (gst_x264_enc_sink_event), (gst_x264_enc_chain), (gst_x264_enc_encode_frame), (gst_x264_enc_change_state), (gst_x264_enc_set_property): * ext/x264/gstx264enc.h: Use GQueue in stead of custom queue code. Factorize flushing out encoder delayed frames. Factorize initialization and state change reset.
2008-08-08ext/x264/: Use video format library and GST_WRITE_*_BE macros where applicable.Mark Nauwelaerts1-88/+102
Original commit message from CVS: * ext/x264/Makefile.am: * ext/x264/gstx264enc.c: (gst_x264_enc_header_buf), (gst_x264_enc_sink_set_caps), (gst_x264_enc_base_init), (gst_x264_enc_class_init), (gst_x264_enc_log_callback), (gst_x264_enc_init), (gst_x264_enc_init_encoder), (gst_x264_enc_finalize), (gst_x264_enc_chain), (gst_x264_enc_encode_frame), (plugin_init): * ext/x264/gstx264enc.h: Use video format library and GST_WRITE_*_BE macros where applicable. Use finalize in stead of dispose. Set up debug category and log callback.
2008-06-04ext/x264/gstx264enc.c: Try harder not to crash when we get an EOS event but ↵Tim-Philipp Müller1-13/+16
haven't set up the encoder yet (as may ha... Original commit message from CVS: * ext/x264/gstx264enc.c: (gst_x264_enc_header_buf), (gst_x264_enc_sink_event), (gst_x264_enc_chain), (gst_x264_enc_encode_frame): Try harder not to crash when we get an EOS event but haven't set up the encoder yet (as may happen when upstream errors out with not-negotiated, for example). Also, always push the EOS event downstream.
2007-12-11ext/x264/gstx264enc.c: Fix caps memleak.Wim Taymans1-2/+7
Original commit message from CVS: * ext/x264/gstx264enc.c: (gst_x264_enc_set_src_caps): Fix caps memleak.
2007-10-26ext/x264/gstx264enc.c: Fix build against the libx264 version that ships with ↵Tim-Philipp Müller1-0/+2
debian stable. Original commit message from CVS: * ext/x264/gstx264enc.c: Fix build against the libx264 version that ships with debian stable.
2007-09-24Massive leak fixing, plus code cleanups.Stefan Kost1-2/+1
Original commit message from CVS: * ext/audioresample/gstaudioresample.c: * ext/x264/gstx264enc.c: * gst/dvdspu/gstdvdspu.c: * gst/dvdspu/gstdvdspu.h: * gst/festival/gstfestival.c: * gst/h264parse/gsth264parse.c: * gst/mpegtsparse/mpegtspacketizer.c: * gst/mpegtsparse/mpegtsparse.c: * gst/multifile/gstmultifilesink.c: * gst/multifile/gstmultifilesrc.c: * gst/nuvdemux/gstnuvdemux.c: * sys/dshowsrcwrapper/gstdshowaudiosrc.c: * sys/dshowsrcwrapper/gstdshowvideosrc.c: * sys/vcd/vcdsrc.c: Massive leak fixing, plus code cleanups.
2007-07-18Add stdlib include (free, atoi, exit).Stefan Kost1-0/+2
Original commit message from CVS: * examples/app/appsrc_ex.c: * examples/switch/switcher.c: * ext/neon/gstneonhttpsrc.c: * ext/timidity/gstwildmidi.c: * ext/x264/gstx264enc.c: * gst/mve/mveaudioenc.c: (mve_compress_audio): * gst/rtpmanager/gstrtpclient.c: * gst/rtpmanager/gstrtpjitterbuffer.c: * gst/spectrum/demo-audiotest.c: * gst/spectrum/demo-osssrc.c: * sys/dvb/gstdvbsrc.c: Add stdlib include (free, atoi, exit).
2007-05-15ext/x264/gstx264enc.c (gst_x264_enc_init_encoder): This needs a version check.Stefan Kost1-1/+1
Original commit message from CVS: * ext/x264/gstx264enc.c (gst_x264_enc_init_encoder): This needs a version check. * gst/bayer/Makefile.am: Fix the build.
2007-03-25Add libx264-based h264 encoder plugin (#421110). Probably doesn't handle ↵Michal Benes1-0/+1053
'odd' widths and heights correctly yet. Original commit message from CVS: Patch by: Michal Benes <michal.benes at itonis tv> Patch by: Josef Zlomek <josef.zlomek at itonis tv> * configure.ac: * ext/Makefile.am: * ext/x264/Makefile.am: * ext/x264/gstx264enc.c: (gst_x264_enc_me_get_type), (gst_x264_enc_analyse_get_type), (gst_x264_enc_timestamp_queue_init), (gst_x264_enc_timestamp_queue_free), (gst_x264_enc_timestamp_queue_put), (gst_x264_enc_timestamp_queue_get), (gst_x264_enc_header_buf), (gst_x264_enc_set_src_caps), (gst_x264_enc_sink_set_caps), (gst_x264_enc_base_init), (gst_x264_enc_class_init), (gst_x264_enc_init), (gst_x264_enc_init_encoder), (gst_x264_enc_close_encoder), (gst_x264_enc_dispose), (gst_x264_enc_sink_event), (gst_x264_enc_chain), (gst_x264_enc_encode_frame), (gst_x264_enc_change_state), (gst_x264_enc_set_property), (gst_x264_enc_get_property), (plugin_init): * ext/x264/gstx264enc.h: Add libx264-based h264 encoder plugin (#421110). Probably doesn't handle 'odd' widths and heights correctly yet.