Commit graph

  • 1751b5c400 Improve readability of the code a little Сухарик 2016-11-25 15:42:16 +0300
  • eac466040e Move duplicated code into a function Sebastian Dröge 2016-11-16 22:55:54 +0200
  • 20a2c7bd33 Refactor code a bit to keep amount of unsafe code to a minimum Sebastian Dröge 2016-11-16 22:44:04 +0200
  • f7148bd910 Port HTTP source from hyper to reqwest Sebastian Dröge 2016-11-14 20:57:54 +0200
  • 2408edf1bf Add initial implementation of a buffer adapter Sebastian Dröge 2016-09-17 08:31:35 -0400
  • b23385e88f Add some more Buffer API and use explicit bitflags instead of magic numbers Sebastian Dröge 2016-09-17 08:31:10 -0400
  • 1ef938b6ec Make ScopedBuffer a bit safer and explicit Sebastian Dröge 2016-09-12 17:30:51 +0200
  • 61b5420102 Add wrapper around GstBuffer and use it in the source/sink Sebastian Dröge 2016-09-12 15:00:28 +0200
  • a2ff32d0be Update README.md with the follow-up blogpost Sebastian Dröge 2016-09-08 11:49:56 +0300
  • f9adac5f7e Never let panics propagate to C and instead convert them to error messages Sebastian Dröge 2016-09-04 00:27:04 +0300
  • 95dd469fbf Make more pointers const Sebastian Dröge 2016-09-03 23:49:54 +0300
  • 245d576159 Don't lock the URI mutex all the time while {Sink,Source}::{start,stop} is called but only when needed Sebastian Dröge 2016-09-03 17:37:51 +0300
  • fa855ec2b2 Move sink_render() to a more logical place Sebastian Dröge 2016-09-02 01:03:31 +0300
  • eee2653b76 Use None instead of u64::MAX for unknown/unspecified size/stop Sebastian Dröge 2016-09-02 01:01:25 +0300
  • 4afdd2c985 Move thread-handling out of the actual Source/Sink implementation Sebastian Dröge 2016-09-02 00:52:28 +0300
  • af6d6f80b4 Remove local macro definition Sebastian Dröge 2016-08-27 11:26:04 +0300
  • b47d7df776 Move some extern C functions into the place where they're used Sebastian Dröge 2016-08-27 11:22:55 +0300
  • 742515aac1 Properly report error / error messages and make the trait APIs more Rust-like Sebastian Dröge 2016-08-27 11:16:17 +0300
  • f7fd92750c Derive some more traits for enums Sebastian Dröge 2016-08-25 00:48:53 +0300
  • 9ae934e48a Make the UriError a bit nicer Sebastian Dröge 2016-08-25 00:47:56 +0300
  • df50617c87 Add trait functions for getting back the controller Sebastian Dröge 2016-08-25 00:08:06 +0300
  • 82c29d369d Properly report errors when setting the URI fails Sebastian Dröge 2016-08-23 00:07:44 +0300
  • 3d83de761f Switch to cdylib crate type Sebastian Dröge 2016-08-22 23:03:45 +0300
  • 6f6e56a5e3 Various further cleanups Sebastian Dröge 2016-08-22 23:03:06 +0300
  • bb8072c4d8 Various cleanups Sebastian Dröge 2016-08-22 22:35:16 +0300
  • 086ec5b68d Fix up mutability Sebastian Dröge 2016-08-22 22:25:58 +0300
  • c7c2676e67 WIP Sebastian Dröge 2016-08-22 21:08:26 +0300
  • 53cb35f991 Fix typo in function name between C and Rust Sebastian Dröge 2016-08-10 18:31:59 +0200
  • 4eb3d879de Move FFI usage out of actual Sink/Source implementations Sebastian Dröge 2016-08-10 18:27:38 +0200
  • e1d2751fc2 Pass native GStreamer element pointer to functions Sebastian Dröge 2016-07-20 21:06:17 +0300
  • 4e053cd6bc Add new controller objects to Source/Sink Sebastian Dröge 2016-07-20 12:46:03 +0300
  • 8b313a752a Run C code through gst-indent Sebastian Dröge 2016-07-20 11:29:27 +0300
  • 31fd26b982 Run everything through rustfmt Sebastian Dröge 2016-07-20 11:28:58 +0300
  • 3db8882ce8 Pass Urls directly to the Source/Sink implementations instead of having them handle strings Sebastian Dröge 2016-05-24 23:24:05 +0300
  • 84c0d4c74c Use an AtomicBool for the seekable variable as is_seekable() can be called at any time from any thread Sebastian Dröge 2016-05-23 21:38:54 +0300
  • 5cc890cc04 Add comments about which Source/Sink methods are called from which threads Sebastian Dröge 2016-05-23 21:15:43 +0300
  • 8514d46092 Use a Mutex to protect the URI storage Sebastian Dröge 2016-05-23 20:29:01 +0300
  • 2d4dd7a218 README.md: Add minimal info and links Jon Nordby 2016-05-23 18:14:33 +0200
  • 5673201400 Remove pointless cloning of URI in ::get_uri() Sebastian Dröge 2016-05-22 16:29:25 +0300
  • ca4fa82ffe Make it an requirement to implement Source::do_seek() Sebastian Dröge 2016-05-22 16:23:43 +0300
  • 872e9a8ab1 Free CString memory in Rust Sebastian Dröge 2016-05-19 10:47:31 +0300
  • acc7d2ea26 Use Option<&str> instead of &Option<&str> for set_uri() Sebastian Dröge 2016-05-18 11:36:02 +0300
  • b8a031c29b Use Option<&str> instead of Option<String> for set_uri() Sebastian Dröge 2016-05-18 11:29:57 +0300
  • 546d67fa5a Add license and copyright notices Sebastian Dröge 2016-05-15 18:54:09 +0300
  • ae9f292278 Add FIXME comment Sebastian Dröge 2016-05-15 18:39:22 +0300
  • 2cbe76c64f Implement and require Sync+Send for sinks Sebastian Dröge 2016-05-15 18:26:17 +0300
  • 29965fa8a7 Add finalizer for the sink to drop the instance Sebastian Dröge 2016-05-15 17:47:38 +0300
  • 400696fbf8 Minor cleanup and make mutability more restricted Sebastian Dröge 2016-05-15 17:43:13 +0300
  • e43f247be3 Fix various compiler warnings Sebastian Dröge 2016-05-15 17:34:13 +0300
  • d6d306f916 RsFileSink writes buffers to a file Luis de Bethencourt 2016-05-15 14:44:32 +0100
  • 87bd914cad Some minor cleanup Sebastian Dröge 2016-05-15 16:15:58 +0300
  • aeefcefe09 Add skeleton for RsFileSink with the new structure Luis de Bethencourt 2016-05-14 14:31:39 +0100
  • 79aed66914 Require Sync and Send traits to be implemented for Sources Sebastian Dröge 2016-05-15 11:55:52 +0300
  • 846f4775d9 Implement seeking in HTTP source Sebastian Dröge 2016-05-15 11:48:54 +0300
  • da1f869b47 Ignore errors when printing to stderr Sebastian Dröge 2016-05-15 11:48:45 +0300
  • fdab33f01b Map do_seek() Sebastian Dröge 2016-05-14 17:57:25 +0300
  • 0f177d8de7 Properly use the length parameter of GstBaseSrc::fill() Sebastian Dröge 2016-05-14 17:43:43 +0300
  • 45a146be26 Allow registering GstPushSrc based types Sebastian Dröge 2016-05-14 17:41:41 +0300
  • 2298fc3353 Some more error handling in the HTTP source Sebastian Dröge 2016-05-14 17:20:51 +0300
  • b2b8332043 Add initial HTTP source based on Hyper Sebastian Dröge 2016-05-14 17:04:53 +0300
  • ec01d11393 Register types from Rust and abstract the source to be able to handle other implementations too Sebastian Dröge 2016-05-14 15:44:40 +0300
  • 4d989404b0 Move stuff around into different modules Sebastian Dröge 2016-05-14 14:44:49 +0300
  • 35a7cfa032 Use a Source trait instead of directly working with FileSrc Sebastian Dröge 2016-05-14 13:34:50 +0300
  • 15865ab86b Implement parsing of URIs in Rust Sebastian Dröge 2016-05-14 12:34:50 +0300
  • 5b6a05b548 Implement some error handling and seek support Sebastian Dröge 2016-05-14 11:31:13 +0300
  • 98c015281e Implement GstURIHandler interface and handle short reads Sebastian Dröge 2016-05-14 11:09:48 +0300
  • 924b105147 Implement get_size() Sebastian Dröge 2016-05-13 19:06:06 +0300
  • 99070d0a9f Initial file reading without error handling, etc Sebastian Dröge 2016-05-13 19:04:10 +0300
  • 8f3d49be31 Move everything into the FileSrc implementation Sebastian Dröge 2016-05-13 18:53:35 +0300
  • 76a5226f79 Fill buffer from Rust code Sebastian Dröge 2016-05-13 18:38:28 +0300
  • ca18a73253 Add skeleton of rsfilesink Luis de Bethencourt 2016-05-13 16:07:26 +0100
  • d9657423a4 Add all other needed functions Sebastian Dröge 2016-05-13 18:16:49 +0300
  • 0b67ffc9c7 Add location property handling Sebastian Dröge 2016-05-13 18:02:19 +0300
  • 833148cef6 Use Box::from/into_raw() Sebastian Dröge 2016-05-13 17:43:32 +0300
  • 6a3a42717f Add a Rust struct and store/use it in the C code Sebastian Dröge 2016-05-13 17:35:09 +0300
  • 9bb2d32c75 Initial commit Sebastian Dröge 2016-05-13 16:35:48 +0300