Commit graph

64 commits

Author SHA1 Message Date
Olivier Crête
4f3363af4d mimenc: Write FOURCC as 32bit 2009-08-18 15:48:09 -04:00
Olivier Crête
4f61f46f07 mimenc: USE GST_WRITE_*_LE macros 2009-08-12 17:35:14 -04:00
Olivier Crête
6001c6b5c0 mimenc: Refuse to go playing in paused-mode without clock
Only try to use the clock in if paused-mode is set and refuse to go playing
in paused-mode without it.

Fixes bug #591538
2009-08-12 17:35:14 -04:00
Olivier Crête
e8c8725efe mimdec: Lock element before unlocking 2009-07-22 15:58:02 -04:00
Olivier Crête
22b95ab4cd mimdec: Fix leaks
Use gst_pad_new_from_static_template() to not leak the pad template
Also properly chain up the finalize to the parent
2009-07-22 15:58:02 -04:00
Olivier Crête
8f1301390d mimenc: Use gst_pad_new_from_static_template
Prevents leak found by valgrind
2009-07-22 15:58:01 -04:00
Olivier Crête
a99348170e mimenc: Unref clockid 2009-07-22 15:58:01 -04:00
Olivier Crête
297ab50ca1 mimdec: Don't overwrite valid timestamps 2009-07-22 15:57:59 -04:00
Olivier Crête
5fe455e28f Revert "mimdec: Ignore the timestamps inside the buffers"
This reverts commit 5e051fa98a.
2009-07-22 14:54:00 -04:00
Olivier Crête
b61f931d87 mimenc: Ignore errors pushing out new segments
The following buffer push will return more valuable information.
2009-07-22 14:19:18 -04:00
Olivier Crête
ff907b11b6 mimenc: Don't pretend to be ML20 if paused 2009-07-16 17:27:09 -04:00
Olivier Crête
5e051fa98a mimdec: Ignore the timestamps inside the buffers 2009-07-16 16:06:26 -04:00
Olivier Crête
cee75e2c89 mimdec: Don't try to parse the header before dropping the paused frames 2009-07-16 15:47:08 -04:00
Olivier Crête
8eac8701ff mimdec: Print the incoming fourcc on errors 2009-07-16 15:47:08 -04:00
Olivier Crête
d607daaf18 mimenc: Only enable paused mode if the property is true 2009-07-10 21:42:19 +01:00
Olivier Crête
89e3049296 mimenc: Send pause frames when paused 2009-07-07 19:22:06 +01:00
Olivier Crête
f410614403 mimdec: Ignore pause frames 2009-07-07 19:21:45 +01:00
Olivier Crête
316236761c mimenc: Put keyframe/paused flags in tcp header 2009-07-07 19:21:45 +01:00
Olivier Crête
4bf9fe969e mimenc: Put timestamp on the header buffer 2009-07-07 19:21:45 +01:00
Olivier Crête
a97e0f0a94 mimenc: Retimestamp to the running time 2009-07-07 19:21:40 +01:00
Olivier Crête
39b8f24866 mimenc: Save the segment 2009-07-07 19:20:41 +01:00
Olivier Crête
62619e9d03 mimenc: Add property for the paused mode 2009-07-07 19:19:52 +01:00
Olivier Crête
6dbf8906b5 Add Doc for mimic plugin 2009-03-03 16:55:12 -05:00
Olivier Crête
288c11c0ed Move mimic to -bad 2009-03-03 14:34:07 -05:00
Olivier Crête
bc4ef4ab62 Re-indent to GST style 2009-03-03 14:34:07 -05:00
Olivier Crete
2451f95e0f [MOVED FROM GST-P-FARSIGHT] Only output a newsegment if the incoming newsegment isnt a time segment
20080725224726-3e2dc-f82b993c0fbfe8bd487d2f1962fec1d0b6564ebc.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
a6c725572e [MOVED FROM GST-P-FARSIGHT] Remove unused member variables
20080725222648-3e2dc-24649782a39462c7c3fef9d6270b3db4c4ace1bb.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
9439baafec [MOVED FROM GST-P-FARSIGHT] Send out the right segment and use stored timestamps directly
20080725222448-3e2dc-e119bf09ede1cf187581d59176c8b35bafb731ae.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
3e785ea2de [MOVED FROM GST-P-FARSIGHT] Skip non-keyframes before we get a keyframe
20080725194833-3e2dc-583df57c8ebce4b149a01768ed7d3737136a208f.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
ca53565719 [MOVED FROM GST-P-FARSIGHT] Ignore upstream newsegment events in mimdec
20080725193358-3e2dc-7c0f22386e0208a45eae9c1d7eb62e86f61d14ba.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
a66cd25919 [MOVED FROM GST-P-FARSIGHT] emit the right timestamp in the newsegment event
20080725192530-3e2dc-a3cc0ce73fca181caee323d699d8576df916e8d3.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
4e2d96596d [MOVED FROM GST-P-FARSIGHT] Use video/x-mimic as the caps type
20080725190849-3e2dc-38e4acc9d4ad8231ed22f6cc4d7d8c2a8b5668e9.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
50d366b0f5 [MOVED FROM GST-P-FARSIGHT] Add proper locking to mimenc
20080704220713-3e2dc-6a22d1a423716e8b84bc3bda9986a1b4ff0c0d37.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
6c6a95130b [MOVED FROM GST-P-FARSIGHT] Remove useless implementation of getcaps from mimdec
20080704220318-3e2dc-d81bc59b2308c5ad0d3144030c5650295e99f3c6.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
c57073ea3d [MOVED FROM GST-P-FARSIGHT] Add proper locking to mimdec
20080704220243-3e2dc-71c157d82999dfb41bd62b4064b1887ab22e84c1.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
7b80bac3ab [MOVED FROM GST-P-FARSIGHT] Remove leak
20080704215936-3e2dc-22d992f98c9931f062662fc05f1ce65bc97f619a.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
7d52a6fc1a [MOVED FROM GST-P-FARSIGHT] Reset the gst timestamp if the time different is too large
20080704215550-3e2dc-76eb3f600f2b977e916f7e1f654529ddaff06ac9.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
9e7cada4a9 [MOVED FROM GST-P-FARSIGHT] Use the timestamp from the first buffer as the base
20080704215208-3e2dc-5822771f2694deda4a7cd5cdd3c38ab9eff7fa2d.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
749e12bb15 [MOVED FROM GST-P-FARSIGHT] Store the timestamp in the header
20080704214935-3e2dc-90ec73df3225b41baa681ab691fb8bd47e17c780.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
10d0e46524 [MOVED FROM GST-P-FARSIGHT] Re-indent mimdec
20080704211943-3e2dc-def1e0dacc4a45fe2b4afdcb903a1328c95117ac.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
b864664647 [MOVED FROM GST-P-FARSIGHT] Simplify newsegment code
20080704211511-3e2dc-b98d1e5b31c23eb7912197f9364a31560d092c63.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
e76cd30d7f [MOVED FROM GST-P-FARSIGHT] Port mimic plugins to GST_BOILERPLATE
20080704205010-3e2dc-da41e5685ab9ceb67555d499125432cd12d5505d.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
c6396458b7 [MOVED FROM GST-P-FARSIGHT] Remove trailing whitespace in mimic plugin
20080704204112-3e2dc-1ab4b913d58faa058742b01e083f7debd6877bb3.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
3f12b5905b [MOVED FROM GST-P-FARSIGHT] Fix conflicts
20080704202941-3e2dc-7f5a38845b797e12d672551466e635d484cb6763.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
8dca93678d [MOVED FROM GST-P-FARSIGHT] Fix mimic enc chain function, return res for chain(), get the parent element with the proper accessor function, use the _OBJECT debugging macros
20071110051717-3e2dc-4726fcd19cc3d1121a4e13276a41f5f86dc1c9b1.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
38006a4c22 [MOVED FROM GST-P-FARSIGHT] Make the _set_caps function of mimic enc more robust
20071110051427-3e2dc-381a71f2cbfdbf508e941b672e9058c82fabce24.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
7f0628b5f9 [MOVED FROM GST-P-FARSIGHT] Remove the gst 0.9.1 ifdef
20071110051401-3e2dc-1f071d732d64573889977405995692d94b10a0d6.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
c6187db160 [MOVED FROM GST-P-FARSIGHT] Make caps gst 0.10 compliant
20071110051035-3e2dc-f7024bd3ecfb6794fe8d09dcb100ba0b4783df5d.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
d9511ab542 [MOVED FROM GST-P-FARSIGHT] Use g_type_class_peek_parent instead of reffing the parent class directly
20071110050950-3e2dc-6d14ddd6ae3ceeeaa4e641b7b09613e442927f92.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
ce88d245c3 [MOVED FROM GST-P-FARSIGHT] Remove framesize properties on the mimic encoder
20071110050852-3e2dc-cb8165c073bfa981790dc91693fd1c483ea7b6ea.gz
2009-03-03 14:34:05 -05:00